provide __contains__ on catalog query