public boolean placeHasColor(int x, int y, PieceColor color) {
    if(placeInRange(x, y)) {
      Piece piece = pieces[x][y];
      
      if(piece != null && piece.getColor() == color) {
        return true;
      }
    }
    
    return false;
  }