protected function doesWarningShow2() { return (bool) $this->find('xpath', $this->getElement('prescriptionExistWarning2')->getXpath()); }