def METHOD_NAME(self, plugin):
    assert (
        plugin.__plugin__.__init__ is Plugin.__init__
        or tuple(
            (param.name, param.kind)
            for param in signature(plugin.__plugin__.__init__).parameters.values()
        ) == (
            ("self", Parameter.POSITIONAL_OR_KEYWORD),
            ("args", Parameter.VAR_POSITIONAL),
            ("kwargs", Parameter.VAR_KEYWORD),
        )
    )