Assuming a real `check()` doesn't get implemented momentarily, the Boolean option the author used is fine.

Opened a general bug for check:

https://dev.metasploit.com/redmine/issues/7975