I'm using the ArcGIS API for Python class arcgis.gis.User to develop a script that pulls the currently logged in users on Portal, and then dumps their user name, full name, and email to a CSV file. The one issue I'm running into is that I can't find a way to determine if a user is currently logged in. I can use epoch time and last login to determine how long a user has been logged in, but that doesn't tell me if they are still logged in when I run the script. Thoughts?