public boolean canSplit(Player player) {
        // if player is null
        // if player has != 1 hand
        // if player has != 2 cards in that hand
        if (player == null || player.numberOfHands() != 1 || player.getActiveHand().getSize() != 2) {
            return false;
        }

        List<Card> cards = player.getActiveHand().getCards();
        String picture1 = cards.get(0).getPicture();
        String picture2 = cards.get(1).getPicture();

        // player has pair?
        return (picture1.equals(picture2));
    }