<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def is_plugin(plugin):
 """ Returns true if the plugin implements the `Plugin` interface. :param plugin: The plugin to check. :returns: True if plugin, False otherwise. :rtype: bool """

    try:
        return isinstance(plugin, Plugin) or issubclass(plugin, Plugin)
    except TypeError:
        return False