def offer_in_influencing_offers(offerId, influencing_offers):
    """
    Find if a passed offerId is in the influencing_offers list
    
    Parameters
    ----------
    offerId: Offer Id from portfolio dataframe.
    
	influencing_offers : List of offers found for a customer
     
    Returns
    -------
    1 if offer is found 0 if not found
    """
    if (offerId in influencing_offers):
        return 1
    else:
        return 0