@lru_cache()<EOL>def is_number_type(type_):
return type_ in _get_types(Types.NUMBER)<EOL>
Checks if the given type is a number type.

    :param type_: The type to check
    :return: True if the type is a number type, otherwise False
    :rtype: bool