User request was to identify when Humbug is run in colab. There are a few environment variables available there that will help us. E.g. COLAB_GPU.
For other Jupyter environments, this may be a little tougher. Requires some investigation on Kaggle and in local Jupyter notebooks and in Jupyter lab.