protected function isSwatchType(array $additionalData)
    {
        return isset($additionalData[CatalogAttributeObserver::SWATCH_INPUT_TYPE]) && in_array($additionalData[CatalogAttributeObserver::SWATCH_INPUT_TYPE], $this->swatchTypes);
    }
protected function isSwatchType(array $additionalData)
    {
        return isset($additionalData[CatalogAttributeObserver::SWATCH_INPUT_TYPE]) && in_array($additionalData[CatalogAttributeObserver::SWATCH_INPUT_TYPE], $this->swatchTypes);
    }
protected function isSwatchType ( array $ additionalData ) { return isset ( $ additionalData [ CatalogAttributeObserver :: SWATCH_INPUT_TYPE ] ) && in_array ( $ additionalData [ CatalogAttributeObserver :: SWATCH_INPUT_TYPE ] , $ this -> swatchTypes ) ; }
Return's TRUE if the additional data contains a swatch type.

@param array $additionalData The additional data to query for a valid swatch type

@return boolean TRUE if the data contains a swatch type, else FALSE
Return s TRUE if the additional data contains a swatch type .