code: def get_registry_value(key, default=None):
      
      registry = queryUtility(IRegistry)
      return registry.get(key, default)
docs: Gets the utility for IRegistry and returns the value for the key passed in.
      If there is no value for the key passed in, returns default value
      :param key: the key in the registry to look for
      :param default: default value if the key is not registered
      :return: value in the registry for the key passed in