Don't do this. leave the `system` in place and then refer to `$?` in the code:

```ruby
def root_encrypted?
  system("/usr/bin/fdesetup isactive /")
  [0, 2].include? $?
end
```