code: func GetFirewallInfo(s *object.HostSystem) (*FirewallInfo, error) {
  	x, err := NewExecutor(s.Client(), s)
  	if err != nil {
  		return nil, err
  	}
  
  	res, err := x.Run([]string{"network", "firewall", "get"})
  	if err != nil {
  		return nil, err
  	}
  
  	info := &FirewallInfo{
  		Loaded:        res.Values[0]["Loaded"][0] == "true",
  		Enabled:       res.Values[0]["Enabled"][0] == "true",
  		DefaultAction: res.Values[0]["DefaultAction"][0],
  	}
  
  	return info, nil
  }
docs: // GetFirewallInfo via 'esxcli network firewall get'
  // The HostFirewallSystem type does not expose this data.
  // This helper can be useful in particular to determine if the firewall is enabled or disabled.