public static boolean typeRegistryExistsForId(int typeRegistryId) {
		for (TypeRegistry typeRegistry : loaderToRegistryMap.values()) {
			if (typeRegistry != null && typeRegistry.getId() == typeRegistryId) {
				return true;
			}
		}
		return false;
	}
public static boolean typeRegistryExistsForId ( int typeRegistryId ) { for ( TypeRegistry typeRegistry : loaderToRegistryMap . values ( ) ) { if ( typeRegistry != null && typeRegistry . getId ( ) == typeRegistryId ) { return true ; } } return false ; }
Check if a type registry exists for a specific type registry ID. Enables parts of the system (for example the
FileSystemWatcher) to check if a type registry is still alive/active.

@param typeRegistryId the ID of a type registry
@return true if that type registry is still around, false otherwise