def self.validate(value, options)
    return [] if value.nil?

    errors = []
    if options[:in]