hasPermission('users.manage'); } /** * Check if a target user can be impersonated. * By default, all users can be impersonated if a currently logged * user is not already impersonating another user. * * @return bool */ public function canBeImpersonated() { return ! app('impersonate')->isImpersonating(); } }