Update ModuleOptions.php

Force a boolean return type so that you don't have to use a triple equal outside of this function.