public function isBusinessUser()
{
if (null === $this->isBusinessUser) {
try {
$user = $this->getAdvancedClient()->getUserStore()->getUser($this->token);
} catch (\Exception $e) {
throw ExceptionFactory::create($e);
}
$this->isBusinessUser = $user->accounting->businessId !== null;
}
return $this->isBusinessUser;
}