Revert the method to check if user is impersonated, it's for symfony impersonation not claroline one