```ruby
module SpreeFishbowl
  class SkuInFishbowlValidator < ActiveModel::EachValidator

    def validate_each(record, attribute, value)
      record.errors[attribute] << 'is not a valid product in Fishbowl' if (
        SpreeFishbowl.enabled? &&
        value.present? &&
        SpreeFishbowl.client_from_config.part(value).nil?
      )
    end

  end
end
```

Validate SKU of production (instead of the part)
user
```ruby
module SpreeFishbowl
  class SkuInFishbowlValidator < ActiveModel::EachValidator

    def validate_each(record, attribute, value)
      record.errors[attribute] << 'is not a valid product in Fishbowl' if (
        SpreeFishbowl.enabled? &&
        value.present? &&
        SpreeFishbowl.client_from_config.product(value).nil?
      )
    end

  end
end
```
assistant