@lru_cache()<EOL>def is_bool_type(type_):
return type_ in _get_types(Types.BOOL)<EOL>
Checks if the given type is a bool type.

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