I have a global var, and when i use it in a function it says "isUseingPreset is not accessed Pylance".
here is the code :
isUseingPreset = False
def PresetHELLO():
print("preset HELLO")
env.PAYLOAD["content"] = "Hello"
isUseingPreset = True
reveiewInput()