#if ! MOKACLASS_MAINCLASS_IMPLEMENTSINTERFACE_No_Instantiation
/*
 * Used to determine dynamically if an object is an instance of a specified class or of a subclass of the specified class.
 */
BOOL instanceof ( TObject * object, TObject * prototype ) { 
	while ( object ) { 
		if ( object -> class_id == prototype -> class_id ) { 
			return TRUE ; 
		} 
		object = object -> super ; 
	} 
	return FALSE ; 
}
#endif