public function invalidLoginMessage() { return (bool) $this->find('xpath', $this->getElement('invalidLogin')->getXpath()); }