Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

This 1-liner fulfills the purpose (tested with the Sage Cell Server).

def is_sage_running(): return 2^3 != 1
print(is_sage_running())