def has_prefix(dict_lst, sub_s):
    """
    Check if dictionary contains at least one word whose prefix equal to sub_s
    :param dict_lst: list, a list contains all word from dictionary
    :param sub_s: str, the word to be checked
    :return: bool, if there are any word whose prefix equal to sub_s
    """
    cnt = 0
    for i in range(len(dict_lst)):
        s = dict_lst[i]
        is_exist = s.startswith(sub_s)
        if is_exist:
            cnt += 1
    if cnt > 0:
        return True