def has_straight(h):
    """
    Straight: All cards are consecutive values.
    return: (hand value, remaining cards) or None
    """
    values = {value for value, _ in h}
    if len(values) == 5 and max(values) - min(values) == 4:
        return max(values), []
    else:
        return None