def has_ever_registered(user_id):
 user_settings = get_user_settings(user_id, strict=True)
 return bool((user_settings.username and user_settings.last_agreed_to_terms))

def has_ever_registered ( user_id ) : user_settings = get_user_settings ( user_id , strict = True ) return bool ( ( user_settings . username and user_settings . last_agreed_to_terms ) )
checks if a user has ever been registered with given user_id .