Did you try the API method for it?
https://osbot.org/api/org/osbot/rs07/api/Client.AccountType.html
AccountType currentAccountType = getClient().getAccountType();
if (currentAccountType.equals(AccountType.NORMAL)) {
log("Account type is NORMAL");
}
//etc
Don't remember which equals is most conventional here, but either one should work I think