inline method hasExtensionClass