Is there a PHP function to test if Perch Region is set?