title: Common Lisp: A predicate to tell if a list contains a nested list?
body: <p>I need a predicate that returns true if a list has a sublist, false otherwise.</p>
  
  <p>I wrote a function to implement it (below). I wonder if such a predicate already exists?</p>
  
  <pre><code>(defun hasSublistp (lst)
      (cond ((null lst) nil)
            ((listp (first lst)) t)
            (t (hasSublistp (rest lst)))))
  </code></pre>