code: def is_metatype(rdtype):
      
  
      if rdtype >= TKEY and rdtype <= ANY or rdtype in _metatypes:
          return True
      return False
docs: True if the type is a metatype.
      @param rdtype: the type
      @type rdtype: int
      @rtype: bool