Doesn't Exists support {sourcepath}?

I want to hide the button when the test folder exists in the current directory. I used @hideif:=Exists("{sourcepath}\test"), but it has no effect at all.

try @hideif:=Exists(source+"test")

Thanks