static boolean checkIfMove(String cmd) {
        for (int i = 2; i < 10; i++) {
            for (int j = 2; j < 10; j++) {
                for (int k = 2; k < 10; k++) {
                    for (int l = 2; l < 10; l++) {
                        if (cmd.indexOf(Board.boardOfMoves[i][j] + Board.boardOfMoves[k][l]) != -1) {
                            receivedMove = Board.boardOfMoves[i][j] + Board.boardOfMoves[k][l];
                            return true;
                        }
                    }
                }
            }
        }

        return false;
    }