Added method to see if a viewController class was present on the navstack.