title: In fluid, how do I use a widget only if it exists?
body: <p>I am making a sitepackage to be compatible with TYPO3 9 &amp; 10. However it is using the news extension which changes the way pagination is done.</p>
  <p>Is there a way in fluid to do something like:</p>
  <pre><code>&lt;f:if condition=&quot;n:widget.paginate&quot;&gt;
    &lt;f:then&gt;
      Use n:widget.paginate
    &lt;/f:then&gt;
    &lt;f:else&gt;
      Use newer paginate method
    &lt;/f:else&gt;
  &lt;/f:if&gt;
  </code></pre>