hasPiece property

bool hasPiece

Is there a piece on this square?

Implementation

bool get hasPiece => piece != null;