public static boolean isMavenModule(String name){
  return name != null && name.indexOf(':') != -1;
}

public static boolean isMavenModule ( String name ) { return name != null && name . indexOf ( ':' ) != - 1 ; }
returns true if the module name contains a ' : '
