public function canRemoveUser(User $user) { return !$this->isTeamUser() && $user->accountId == $this->accountId && !$user->isAccountOwner() && $this->getId() != $user->getId() && ($this->isAccountOwner() || $this->isAccountSuperAdmin() || !$user->isAccountSuperAdmin()); }