How about something like this:
```rb
OS::X11.installed? && (@min_version.nil? || @min_version <= OS::X11.version)
```