title: Check if array holds element at specific index?
body: <pre><code>if (![[array objectAtIndex:indexPath.row] isEmpty]) {
     .... proceed as necessary                                 
  }
  </code></pre>
  
  <p>indexPath.row could hold any type of object or it could be empty. Often it is empty and thus it chokes when attempting to retrieve the object at specified location when it's null. I have tried the above approach but that doesn't work either. What is the correct way to check for this scenario? </p>