code: def tearpage_needed(bibtex):
      
      for publisher in BAD_JOURNALS:
          if publisher in bibtex.get("journal", "").lower():
              # Bad journal is found, add pages to tear
              return BAD_JOURNALS[publisher]
  
      # If no bad journals are found, return an empty list
      return []
docs: Check whether a given paper needs some pages to be teared or not.
  
      :params bibtex: The bibtex entry associated to the paper, to guess \
              whether tearing is needed.
      :returns: A list of pages to tear.