private function _isDefinedColor ( $colorName ) {
        $colors = self::getDefinedColors();
        $colorNames = array_keys($colors);
        return in_array($colorName, $colorNames);
    }
private function _isDefinedColor ( $colorName ) {
        $colors = self::getDefinedColors();
        $colorNames = array_keys($colors);
        return in_array($colorName, $colorNames);
    }
private function _isDefinedColor ( $ colorName ) { $ colors = self :: getDefinedColors ( ) ; $ colorNames = array_keys ( $ colors ) ; return in_array ( $ colorName , $ colorNames ) ; }
Which is defined color

@param string $colorName Color name
@return bool Which is defined color
Which is defined color