def _validate_region(self):
if not self.region:<EOL><INDENT>raise GCECloudException(<EOL>'<STR_LIT>'<EOL>'<STR_LIT>'<EOL>)<EOL><DEDENT>try:<EOL><INDENT>zone = self.compute_driver.ex_get_zone(self.region)<EOL><DEDENT>except Exception:<EOL><INDENT>zone = None<EOL><DEDENT>if not zone:<EOL><INDENT>raise GCECloudException(<EOL>'<STR_LIT>'<EOL>'<STR_LIT>'.format(<EOL>region=self.region<EOL>)<EOL>)<EOL><DEDENT>
Validate region was passed in and is a valid GCE zone.