title: Cakephp 3.6 paginator
body: <p>is there any way for the paginator in index.ctp to be displayed only if there are more than 20 records?
  Now, if in my table there aren't records, the paginator is displayed anyway, and it looks very bad. </p>
  
  <p>I was thinking about using if condition, that if the length of the array is bigger than 20, so the paginator displays, but I would have to give it to every view. Is there any other way?</p>