Is there any variable or way to check if the python environment has already been loaded? (that is, the environment "python" has already been invoked (in the current stata session), which resulted in loading the shared object or dynamic library into memory? simply put, has the user already ran python/end in the current session?

Thank you