def algun_producte(tup, dic, tipus_ref):
    for prod in tup:
        if dic[prod] == tipus_ref:
            return True
    return False
