private function hasVariableTypeOption($type) { return array_key_exists($type, $this->getVariableTypesOptions()); }