When working with Django Channels, it is not easy to determine from a WebsocketConsumer if the user is impersonated or not. When impersonating a user, the request sender is still the impersonator and not the impersonated user.
For reference on WebsocketConsumer, https://channels.readthedocs.io/en/stable/tutorial/part_2.html