def requires_confirmation(user):
 return (_security.confirmable and (not _security.login_without_confirmation) and (user.confirmed_at is None))

def requires_confirmation ( user ) : return ( _security . confirmable and ( not _security . login_without_confirmation ) and ( user . confirmed_at is None ) )
returns true if the user requires confirmation .