def METHOD_NAME(inst, basedn, log, args):
    plugin = args.plugin_cls(inst)
    if plugin.status():
        log.info("Plugin '%s' already enabled" % plugin.rdn)
    else:
        plugin.enable()
        log.info("Enabled plugin '%s'" % plugin.rdn)