public function canBeImpersonatedPolicy(Impersonatable $impersonater, Impersonatable $impersonated)
    {
        return $this->canImpersonatePolicy($impersonater) && $impersonated->canBeImpersonated();
    }
public function canBeImpersonatedPolicy(Impersonatable $impersonater, Impersonatable $impersonated)
    {
        return $this->canImpersonatePolicy($impersonater) && $impersonated->canBeImpersonated();
    }
public function canBeImpersonatedPolicy ( Impersonatable $ impersonater , Impersonatable $ impersonated ) { return $ this -> canImpersonatePolicy ( $ impersonater ) && $ impersonated -> canBeImpersonated ( ) ; }
Check if the given user can be impersonated.

@param  \Arcanedev\LaravelImpersonator\Contracts\Impersonatable  $impersonater
@param  \Arcanedev\LaravelImpersonator\Contracts\Impersonatable  $impersonated

@return bool
Check if the given user can be impersonated .