<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_plugin_path(home, plugin_type, plugin_name, editable=False):
 """Return path to plugin. :param home: Path to honeycomb home :param plugin_type: Type of plugin (:obj:`honeycomb.defs.SERVICES` pr :obj:`honeycomb.defs.INTEGRATIONS`) :param plugin_name: Name of plugin :param editable: Use plugin_name as direct path instead of loading from honeycomb home folder """

    if editable:
        plugin_path = plugin_name
    else:
        plugin_path = os.path.join(home, plugin_type, plugin_name)

    return os.path.realpath(plugin_path)