private boolean isValidMove(Pair<Integer, Integer> coords,
			Piece squareColour) {
		boolean found = false;
		if (isInBoundary(coords)) {
			if ((board[coords.getFirst() - 1][coords.getSecond() - 1])
					.getPiece().equals(Piece.EMPTY)) {
				for (Direction dir : Direction.values()) {
					if (checkLine(coords, squareColour, dir, found)) {
						return true;
					}

				}
				return false;
			}
		}
		return false;
	}