Are we in a Remote Powershell session?

Clash Royale CLAN TAG#URR8PPPAre we in a Remote Powershell session?
From a Powershell script, how can I check if the script was called from a Remote Powershell session, or from a local session?
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
stackoverflow.com/questions/13394196/…
– Vivek Kumar Singh
15 secs ago