I'm working on a python script that utilizes the Network Analyst Extension, so at the beginning of the script I check that extension out. I think its working but I want a way to confirm the users actually has that extension. Below is the code where I check it out but I'm looking for some code that will list the user who has the extension or confirm that the user successfully checked it out. Is that possible?
#Check out the Network Analyst extension license
if arcpy.CheckExtension("Network") == "Available":
# Script runs here
logger.info("License Not Available")