There is a way to do this using ArcGIS license Server Administrator, but I need a command to use it in arcpy scripting.
2 Answers
sounds like your looking for CheckInExtension?
looks as simple as
arcpy.CheckInExtension("3D")
(oops, answered too quickly) at least for extensions - the desktop license condition appears to be read only - more info here