menu 8 Menu Overview $user->isLastAdmin() Checks if the user is the last one with the admin role $user->isLastAdmin(): bool Return type bool Source code kirby/src/Cms/User.php#L369