private function isValidObjectType($strObjectType) { $validTypes = Locations::lookupObjectTypeOptionsFromSQL(); return in_array($strObjectType, $validTypes); }