test = "hello world" if test is not None: print("test is not None") test2 = None if test2 is None: print("test2 is None")
strtest = "xxxxxx" if strtest is not None: print("strtest is not None")