code: def _status_apf():
      '''
      Return True if apf is running otherwise return False
      '''
      status = 0
      table = iptc.Table(iptc.Table.FILTER)
      for chain in table.chains:
          if 'sanity' in chain.name.lower():
              status = 1
      return True if status else Falsf _status_apf():
      '''
      Return True if apf is running otherwise return False
      '''
      status = 0
      table = iptc.Table(iptc.Table.FILTER)
      for chain in table.chains:
          if 'sanity' in chain.name.lower():
              status = 1
      return True if status else False
docs: Return True if apf is running otherwise return False