``` ruby
def valid_data_year?(value)
  ! blank?(value) && value.length == 4 && value.to_i.between?(1990, 2050)
end
```