public function isSuperUser(int $userId = 0) : bool
{
if (!$this->airship_perms instanceof Permissions) {
$this->tightenSecurityBolt();
}
if (empty($userId)) {
try {
$userId = $this->getActiveUserId();
} catch (SecurityAlert $e) {
return false;
}
}
return $this->airship_perms->isSuperUser($userId);
}