private boolean isEnabled(Class<?> pluginClass) {
   for (String disabledPlugin : this.disabledPlugins) {
     if (ClassUtils.getShortName(pluginClass).equalsIgnoreCase(disabledPlugin)
         || ClassUtils.getQualifiedName(pluginClass).equalsIgnoreCase(disabledPlugin)) {
       return false;
     }
   }
   return true;
 }
    protected boolean isEnabled(CRaSHPlugin<?> plugin) {
      Assert.notNull(plugin, "Plugin must not be null");

      if (ObjectUtils.isEmpty(this.disabledPlugins)) {
        return true;
      }

      Set<Class<?>> pluginClasses = ClassUtils.getAllInterfacesAsSet(plugin);
      pluginClasses.add(plugin.getClass());

      for (Class<?> pluginClass : pluginClasses) {
        if (isEnabled(pluginClass)) {
          return true;
        }
      }
      return false;
    }