I would have written `!!opts.isInvalid` but your writing makes it clearer about what's the default value