def is_singleton(rdtype):

    if _singletons.has_key(rdtype):
        return True
    return False
True if the type is a singleton.
dataset/ETHPy150Open catap/namebench/nb_third_party/dns/rdatatype.py/is_singleton