code: def predicates_overlap(tags1: List[str], tags2: List[str]) -> bool:
      
      # Get predicate word indices from both predictions
      pred_ind1 = get_predicate_indices(tags1)
      pred_ind2 = get_predicate_indices(tags2)
  
      # Return if pred_ind1 pred_ind2 overlap
      return any(set.intersection(set(pred_ind1), set(pred_ind2)))
docs: Tests whether the predicate in BIO tags1 overlap
      with those of tags2.