title: Check if View controller class exists in array of view controllers
body: <p>I am trying to check a list of view controllers from <code>self.navigationController.viewControllers</code>.</p>
  
  <pre><code>NSMutableArray *arrayOfControllers = [[NSMutableArray alloc] initWithObjects:self.navigationController.viewControllers, nil];
  </code></pre>
  
  <p>As an example this would return an array like this:</p>
  
  <pre><code>array -- (
          (
          "&lt;HomeViewController: 0xb1aca10&gt;",
          "&lt;LeftMenuViewController: 0xe751520&gt;"
      )
  )
  </code></pre>
  
  <p>I am now needing to check if HomeViewController exists in the array how do I do this?</p>
  
  <p>I have tried to do <code>[arrayOfControllers containsObject:[MESHomeViewController class]])</code> but this does not return true.</p>