Poker related function that will confirm rank of hand