def METHOD_NAME(self, plugin):
    pluginclass = plugin.__plugin__
    assert not hasattr(pluginclass, "can_handle_url"), "Does not implement deprecated can_handle_url(url)"
    assert not hasattr(pluginclass, "priority"), "Does not implement deprecated priority(url)"
    assert callable(pluginclass._get_streams), "Implements _get_streams()"