def tag_type_check(tag_buffer, tag_list):
    """
    Check if tag buffer is in or is potentially in tag list

    :param tag_buffer: string
    :param tag_list: list of strings
    :return: indicator as list
    """

    temp = []
    for i in tag_list:
        if i == tag_buffer:
            return [tag_buffer]
        elif i.startswith(tag_buffer):
            temp = ['']

    return temp