private function isValidAttributeFilterValue($value)
    {
        if (is_array($value)) {
            foreach ($value as $subValue) {
                if (!$this->isValidAttributeFilterValue($subValue)) {
                    return false;
                }
            }
            return true;
        }

        return ctype_digit($value);
    }
private function isValidAttributeFilterValue($value)
    {
        if (is_array($value)) {
            foreach ($value as $subValue) {
                if (!$this->isValidAttributeFilterValue($subValue)) {
                    return false;
                }
            }
            return true;
        }

        return ctype_digit($value);
    }
private function isValidAttributeFilterValue ( $ value ) { if ( is_array ( $ value ) ) { foreach ( $ value as $ subValue ) { if ( ! $ this -> isValidAttributeFilterValue ( $ subValue ) ) { return false ; } } return true ; } return ctype_digit ( $ value ) ; }
Value must be an option ID or an array of option IDs

@param mixed $value
@return bool
Value must be an option ID or an array of option IDs