you can call it this way
```
kerberosEnabled =  UI.QueryWidget(Id(:rb_kerberos_enable), :CurrentButton) #convert not needed as you know type
AuthServer.WriteKerberosEnabled(kerberosEnabled == :rb_kerberos_yes)
```
or if you do not like comparing in method then 
```
enabled = kerberosEnabled == :rb_kerberos_yes
AuthServer.WriteKerberosEnabled(enabled)