Enum member isNamedComponent

Detect whether T is the NamedComponent class or inherits from NamedComponent.

enum isNamedComponent(T) = isRawOrInherited!T;