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