def is_singleton(rdtype):
 if _singletons.has_key(rdtype):
  return True
 return False

def is_singleton ( rdtype ) : if _singletons . has_key ( rdtype ) : return True return False
true if the type is a singleton .