public function offsetExists($name) { if ($properties = $this->getStyleProperties()) { return isset($properties[$name]); } return FALSE; }