def verify_open(strategy, backend, user=None, **kwargs):
 if ((not user) and (not appsettings.REGISTRATION_OPEN)):
  raise AuthException(backend, _(u'New registrations are disabled!'))

def verify_open ( strategy , backend , user = None , ** kwargs ) : if ( ( not user ) and ( not appsettings . REGISTRATION_OPEN ) ) : raise AuthException ( backend , _ ( u'New registrations are disabled!' ) )
checks whether it is possible to create new user .