value = "not-none" if value is not None: print("Not none") else: print("None")