While this mechanism is quite straightforward for scalar fields, it's less obvious how to handle one2many and many2many fields. In fact, in standard Odoo, you can't do much with those fields within an attrs attribute. However, if you only need to check whether such a field is empty, use [[6, False, []]] as your right-hand operand.