Added a isTitle() method