def find_reactions_by_label(rmg_rxn: list, label: str) -> list:
    """
    for given species find all the reactions involved in
    RMGrxn: is from RMGsp,RMGrxn=load_chemkin_file(chemkin_file,dict_file) or list of RMG reactions
    :param rmg_rxn: (list) rmg reaction list
    :param label: (str) label of the species
    :return: list of reactions
    """

    x1 = []
    for rxn in rmg_rxn:
        if label in [x.label for x in rxn.reactants + rxn.products]:
            x1.append(rxn)
            print(rxn.index, [y.label for y in rxn.reactants], "->", [y.label for y in rxn.products])
    return x1