code: def show_alerts(zap_helper, alert_level, output_format, exit_code):
      
      alerts = zap_helper.alerts(alert_level)
  
      helpers.report_alerts(alerts, output_format)
  
      if exit_code:
          code = 1 if len(alerts) > 0 else 0
          sys.exit(code)
docs: Show alerts at the given alert level.