I think last clause is kind of redundant because if argument is `nsIDOMWindow` it's already covered by the earlier case, so I think it should be just `isPrivate.define(_ => pbService && pbService.privateBrowsingEnabled)`