This rev. is a complement to the partial backport 49e78f46 of abf32b8. In addition to the helpers, we also backport the asserts (like isVisible, containsOnce...). closes odoo/odoo#28994
49e78f46
abf32b8