def match_substring(elements_list: list, match_pattern: str) -> list:
    """
    Return indexes of a list that matches with pattern. Similar to MATLAB find function
    """
    indexes = [i for i in range(len(elements_list)) if match_pattern in elements_list[i]]

    return indexes