dmlcloud.has_environment

dmlcloud.has_environment()

Check if the environment variables used by the β€œenv://” initialization method are set.

This is determined by checking if the MASTER_PORT environment variable is set.