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