code: def enable_policies(zap_helper, policy_ids):
      
      if not policy_ids:
          policy_ids = _get_all_policy_ids(zap_helper)
  
      with zap_error_handler():
          zap_helper.enable_policies_by_ids(policy_ids)
docs: Set the enabled policies to use in a scan.
  
      When you enable a selection of policies, all other policies are
      disabled.