ndi.validators.mustBeClassnameOfType
MUSTBECLASSNAMEOFTYPE - validation function that checks if a classname is a subclass of a required type
MUSTBECLASSNAMEOFTYPE(CLASSNAME, REQUIREDTYPE)
Checks if CLASSNAME is a valid class name and if it inherits from REQUIREDTYPE.
Throws an error if not.