getPrimaryPayment())) { // If the current state is supposed to be more than 'created' return $this->getPrimaryPayment()->getCurrentStatus() != 'created'; } } return false; } }