Since you don't expect `false` to be passed for `encoded_masked_token` with different semantics than `nil`, it's simpler to write:

```ruby
  return false unless encoded_masked_token
```