I'm not sure but this style is very minor and hard to check.
Maybe,

```rb
def required?
  @required.nil? ? false : @required
end
```

is better.