<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def is_string_type(type_):
 """ Checks if the given type is a string type. :param type_: The type to check :return: True if the type is a string type, otherwise False :rtype: bool """


    string_types = _get_types(Types.STRING)
    if is_typing_type(type_):
        return type_ in string_types or is_regex_type(type_)
    return type_ in string_types