[rqlrewrite] Enhance detection of need for Exists node
We actually want one only if this is not a (`And` / `Or`) binary tree of `Not` or
`Exists` nodes, so write a recursive function to tell so.
Related to #17074119
.. _urlrewrite_module:
:mod:`cubicweb.web.views.urlrewrite`
=======================================
.. automodule:: cubicweb.web.views.urlrewrite
.. autoclass:: URLRewriter
:show-inheritance:
:members:
.. autoclass:: SimpleReqRewriter
:show-inheritance:
:members:
.. autoclass:: SchemaBasedRewriter
:show-inheritance:
:members: