title: Check if list is nested
body: <p>Is there any way to check if a list is nested without using any built in python functions?<br>
  Right now I have:</p>
  
  <pre><code>if type(my_list[0]) == list:
      # other code
  </code></pre>
  
  <p>I am working on an assignment problem and need to check if an element in a list is a nested list but I am not allowed to use the type() function or isinstance(). Does anyone what else I can use here? </p>