code: def filterNonJournals(citesLst, invert = False):
      
  
      retCites = []
      for c in citesLst:
          if c.isJournal():
              if not invert:
                  retCites.append(c)
          elif invert:
              retCites.append(c)
      return retCites
docs: Removes the `Citations` from _citesLst_ that are not journals
  
      # Parameters
  
      _citesLst_ : `list [Citation]`
  
      > A list of citations to be filtered
  
      _invert_ : `optional [bool]`
  
      > Default `False`, if `True` non-journals will be kept instead of journals
  
      # Returns
  
      `list [Citation]`
  
      > A filtered list of Citations from _citesLst_