Verify if the list contains the item.

        :param list_to_search: The list.
        :type list_to_search: str
        :param string_to_search: The value of item.
        :type string_to_search: str
        :return: True if the list contains the item or False is not contains.
        :rtype: bool

def in_list(list_to_search, string_to_search):
        """
        Verify if the list contains the item.

        :param list_to_search: The list.
        :type list_to_search: str
        :param string_to_search: The value of item.
        :type string_to_search: str
        :return: True if the list contains the item or False is not contains.
        :rtype: bool
        """

        if (bool(list_to_search)) and (bool(string_to_search)):
            elements = re.split('[ \n\t\r]+', list_to_search)
            for element in elements:
                if element == string_to_search:
                    return True
        return False