def timestamp_is_valid(current_position, last_position):
    """
    Returns True if the current position's timestamp comes after the previous
    position's timestamp
    """
    return current_position.timestamp > last_position.timestamp