implement empty and omit-all operators