def enabled_plugins(installed_only=True):
enabled_path = MICRODROP_CONDA_PLUGINS.joinpath('<STR_LIT>')<EOL>if not enabled_path.isdir():<EOL><INDENT>return []<EOL><DEDENT>enabled_plugins_ = []<EOL>for plugin_path_i in enabled_path.dirs():<EOL><INDENT>if not installed_only or _islinklike(plugin_path_i):<EOL><INDENT>try:<EOL><INDENT>with plugin_path_i.joinpath('<STR_LIT>').open('<STR_LIT:r>') as input_:<EOL><INDENT>properties_i = yaml.load(input_.read())<EOL><DEDENT><DEDENT>except:<EOL><INDENT>logger.info('<STR_LIT>',<EOL>plugin_path_i.joinpath('<STR_LIT>'),<EOL>exc_info=True)<EOL>continue<EOL><DEDENT>else:<EOL><INDENT>properties_i['<STR_LIT:path>'] = plugin_path_i.realpath()<EOL>enabled_plugins_.append(properties_i)<EOL><DEDENT><DEDENT><DEDENT>if installed_only:<EOL><INDENT>try:<EOL><INDENT>package_names = [properties_i['<STR_LIT>']<EOL>for properties_i in enabled_plugins_]<EOL>installed_info = ch.package_version(package_names, verbose=False)<EOL><DEDENT>except ch.PackageNotFound as exception:<EOL><INDENT>logger.warning(str(exception))<EOL>available_names = set([package_i['<STR_LIT:name>']<EOL>for package_i in exception.available])<EOL>return [properties_i for properties_i in enabled_plugins_<EOL>if properties_i['<STR_LIT>'] in available_names]<EOL><DEDENT><DEDENT>return enabled_plugins_<EOL>
.. versionadded:: 0.21

Parameters
----------
installed_only : bool, optional
    Only consider enabled plugins that are installed in the Conda
    environment.

Returns
-------
list
    List of properties corresponding to each plugin that is **enabled**.

    If :data:`installed_only` is True``, only consider plugins:

     1. Present in the ``etc/microdrop/plugins/enabled`` directory as a
        link/junction to a **real** directory (i.e., not a link) in the
        ``share/microdrop/plugins/available`` directory.
     2. Matching the name of a package in the Conda environment.

    If :data:`installed_only` is ``False``, consider all plugins present in
    the ``etc/microdrop/plugins/enabled`` directory as either a *real*
    directory or a link/junction.