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