def has_ipfw(self):
    try:
      self.ipfw('list')
      return True
    except __HOLE__ as e:
      logging.warning('Failed to start ipfw command. '
                      'Error: %s' % e.message)
      return False
dataset/ETHPy150Open chromium/web-page-replay/platformsettings.py/_BasePlatformSettings.has_ipfw