def in_anagram_list(anagram_list, sub_s):
    """
    check if sub_s has already exist in anagram list, avoid repeating search
    :param anagram_list: (list) anagram list
    :param sub_s: (string)
    :return: (boolean)
    """
    for i in anagram_list:
        if i.startswith(sub_s):
            return True
    return False