def hasplugin(self, name):
        return bool(self.get_plugin(name))
Return True if the plugin with the given name is registered.
dataset/ETHPy150Open pytest-dev/pytest/_pytest/config.py/PytestPluginManager.hasplugin