def substring_in_list(s, varlist):
    """Check whether part of the string s appears in the list.

    Args:
        s: A string
        varlist: A list. Some elements may be the sub-string of s.
    :return: Bool. Is a element in the varlist is the substring of s?
    """
    if varlist is None:
        return False
    is_sub = False
    for v in varlist:
        if v in s:
            is_sub = True
            break
    return is_sub