def has_class(self, cls): ns_prefix = cls.get_namespace_prefix(self) if ns_prefix in rpclib.const.xml_ns.const_nsmap: return True else: return InterfaceBase.has_class(self, cls)