Lenient method to optionally create a BooleanFilter from an underlying tqa.base.dom.NonStandardResource.