Full implementation of poker_rank is_... functions; not well tested!