protected function lib_ispixel($value) { return $this->toBool($value[0] == "number" && $value[2] == "px"); }