def is_type_empty(type):
    type = type.get_repr()
    return (isinstance(type, TypeTuple) and (len(type.args) == 0))
def is_type_empty(type):
    type = type.get_repr()
    return (isinstance(type, TypeTuple) and (len(type.args) == 0))