def _is_lt_position(first: tuple, second: tuple, position):
    """Compare the tuple at given position."""
    if len(first) > position and first[position] is not None:
        if len(second) > position and second[position] is not None:
            return first[position] < second[position]
        return False
    return len(second) > position and second[position] is not None
