code: def has_receipt(item):
      
      pronac_id = str(item['idPronac'])
      item_id = str(item["idPlanilhaItens"])
  
      combined_id = f'{pronac_id}/{item_id}'
  
      return combined_id in data.receipt.index
docs: Verify if a item has a receipt.