File size: 112 Bytes
bbc8169
 
 
 
 
 
1
2
3
4
5
6
def is_google_colab():
    try:
        import google.colab
        return True
    except:
        return False