def func(): value = "not-none" if value = None: print("None")