(last_sync, locations_queryset, restore_state)
return (
        _app_has_changed(last_sync, restore_state.params.app_id)
        or _fixture_has_changed(last_sync, restore_user)
        or _locations_have_changed(last_sync, locations_queryset, restore_user)
    )
Determine if any locations (already filtered to be relevant
    to this user) require syncing.
Determine if any locations (already filtered to be relevant
    to this user) require syncing.
Determine if any locations ( already filtered to be relevant to this user ) require syncing .
def should_sync_locations(last_sync, locations_queryset, restore_state):
    """
    Determine if any locations (already filtered to be relevant
    to this user) require syncing.
    """
    restore_user = restore_state.restore_user
    return (
        _app_has_changed(last_sync, restore_state.params.app_id)
        or _fixture_has_changed(last_sync, restore_user)
        or _locations_have_changed(last_sync, locations_queryset, restore_user)
    )
def should_sync_locations ( last_sync , locations_queryset , restore_state ) : restore_user = restore_state . restore_user return ( _app_has_changed ( last_sync , restore_state . params . app_id ) or _fixture_has_changed ( last_sync , restore_user ) or _locations_have_changed ( last_sync , locations_queryset , restore_user ) )