def iter_find(source: str, flag: str) -> list:
    """
    Find the indexes of the source parameter that contains the provided flag. This function is important
    to detect the 'parameter_lowerbound_upperbound' syntax contained in the .inp file

    :param source: Source string
    :param flag: String to be searched
    :return: List with the indexes or an empty list
    """
    return [i for i in range(len(source)) if source[i] == flag]