def is_site_configuration_enabled():
 configuration = get_current_site_configuration()
 if configuration:
  return configuration.enabled
 return False

def is_site_configuration_enabled ( ) : configuration = get_current_site_configuration ( ) if configuration : return configuration . enabled return False
returns true is there is siteconfiguration instance associated with the current site and it is enabled .