public static boolean isModuleName(String value, Map<String, Object> modulesMap) {
      return modulesMap.containsKey(value);
   }
public static boolean isModuleName ( String value , Map < String , Object > modulesMap ) { return modulesMap . containsKey ( value ) ; }
@param value
. The string to check whether it is a name of one of the
modules.
@param modulesMap
. A MAP of the information of all modules, being the key of the
map teh module names
@return