```Assert.equal()```  gives a "not defined" error when one of the objects compared is not defined.
So it makes sense to wait for the page title to appear only when ```self._page_title``` is defined and otherwise directly give "not defined" error by doing an ```Assert.equal()``` without waiting for page title to appear.
Hence ```if self._page_title:``` should be there.