parameters: ()
return_statement: return True
docstring: Check if custom_updater exist.
docstring_summary: Check if custom_updater exist.
docstring_tokens: Check if custom_updater exist .
function: def constrain_custom_updater():
      """Check if custom_updater exist."""
      hacs = get_hacs()
      for location in CUSTOM_UPDATER_LOCATIONS:
          if os.path.exists(location.format(hacs.system.config_path)):
              msg = CUSTOM_UPDATER_WARNING.format(
                  location.format(hacs.system.config_path)
              )
              hacs.logger.critical(msg)
              return False
      return True
function_tokens: def constrain_custom_updater ( ) : hacs = get_hacs ( ) for location in CUSTOM_UPDATER_LOCATIONS : if os . path . exists ( location . format ( hacs . system . config_path ) ) : msg = CUSTOM_UPDATER_WARNING . format ( location . format ( hacs . system . config_path ) ) hacs . logger . critical ( msg ) return False return True