code: def find_broadly_matched_key(self, broad, string):
          
          keys = list(broad.keys())
          for i in range(0, len(keys)):
              key = keys[i]
              if string.find(key) >= 0:
                  return key
          return None
docs: A helper method for matching error strings exactly vs broadly