code: func (b *BigIP) GetCurrentDevice() (*Device, error) {
  	devices, err := b.Devices()
  	if err != nil {
  		return nil, err
  	}
  	for _, d := range devices.Devices {
  		// f5 api is returning bool value as string
  		if d.SelfDevice == "true" {
  			return &d, nil
  		}
  	}
  	return nil, errors.New("could not find this device")
  }
docs: // GetCurrentDevice returns a current device.