code: def get_enabled(name, app):
      '''
      Get (and load) entrypoints registered on name
      and enabled for the given app.
      '''
      plugins = app.config['PLUGINS']
      return dict(_ep_to_kv(e) for e in iter_all(name) if e.name in pluginsf get_enabled(name, app):
      '''
      Get (and load) entrypoints registered on name
      and enabled for the given app.
      '''
      plugins = app.config['PLUGINS']
      return dict(_ep_to_kv(e) for e in iter_all(name) if e.name in plugins)
docs: Get (and load) entrypoints registered on name
      and enabled for the given app.