/** * Check whether specified attribute can be used in LN * * @param \Magento\Catalog\Model\Resource\Eav\Attribute $attribute * @return int */ protected function getAttributeIsFilterable($attribute) { return $attribute->getIsFilterable(); }