First time here? Check out the FAQ!
answered 2025-01-28 11:51:17 +0100
This 1-liner fulfills the purpose (tested with the Sage Cell Server).
def is_sage_running(): return 2^3 != 1 print(is_sage_running())