def is_metaclass(rdclass):
 if _metaclasses.has_key(rdclass):
  return True
 return False

def is_metaclass ( rdclass ) : if _metaclasses . has_key ( rdclass ) : return True return False
true if the class is a metaclass .