checkbox vray problem


i'm putting together a small script to give me quick access to certain functions.
however i'm struggling with the vray region render. script access is slightly different.

it's vrayVFBGetRegionEnabled() instead of just vrayVFBGetRegionEnabled to get a true/false response.
same for vrayVFBSetRegionEnabled() if i set vrayVFBSetRegionEnabled = true it'll not work since it's expecting vrayVFBSetRegionEnabled(true)

it messes with the script since max is not expecting brackets.
how can i get around this problem to create buttons that allow me to turn region render on and off.

any help is very appreciated