private static boolean isInternalPlugin(ProtectionDomain domain){
  return domain.getClassLoader() instanceof InternalPluginClassLoader;
}

private static boolean isInternalPlugin ( ProtectionDomain domain ) { return domain . getClassLoader ( ) instanceof InternalPluginClassLoader ; }
checks whether the given domain belongs to a special internal extension or not .
