private function attributeValueExists(Mage_Eav_Model_Entity_Attribute $attribute, $arg_value) { $options = Mage::getModel('eav/entity_attribute_source_table'); $options->setAttribute($attribute); $options = $options->getAllOptions(false); foreach ($options as $option) { if ($option['label'] === $arg_value) { return true; } } return false; }