protected function getFilterItemByLabel(array $filterItems, $filterLabel)
    {
        foreach ($filterItems as $item) {
            if ((string) $item->getValue() === (string) $filterLabel) {
                return $item;
            }
        }

        return false;
    }
protected function getFilterItemByLabel(array $filterItems, $filterLabel)
    {
        foreach ($filterItems as $item) {
            if ((string) $item->getValue() === (string) $filterLabel) {
                return $item;
            }
        }

        return false;
    }
protected function getFilterItemByLabel ( array $ filterItems , $ filterLabel ) { foreach ( $ filterItems as $ item ) { if ( ( string ) $ item -> getValue ( ) === ( string ) $ filterLabel ) { return $ item ; } } return false ; }
Fetch Filter item by it's label.

@param FilterItem[] $filterItems All Filter items
@param string       $filterLabel Filter Label

@return bool|FilterItem
Fetch Filter item by it s label .