Is reallocation of the msg required on its postcommit callback
@return boolean
12758
public boolean isReallocationRequired()
  {
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
    {
      SibTr.entry(this, tc, "isReallocationRequired");
      SibTr.exit(tc, "isReallocationRequired", Boolean.valueOf(reallocateOnCommit));
    }

    return reallocateOnCommit;
  }
564409
public function callbackSubmit()
    {
        // Remember values during resubmit, useful when failing (retunr false)
        // and asking the user to resubmit the form.
        $this->form->rememberValues();
        $username = $this->form->value("username");
        $password = $this->form->value("password");
        try {
            $this->di->get("userService")->login($username, $password);
        } catch (\Peto16\User\Exception $e) {
            $this->form->addOutput($e->getMessage());
            return false;
        }
        return true;
    }
418701
public function pass(CommitMessage $msg) : bool
    {
        $lineNr = 1;
        foreach ($msg->getBodyLines() as $line) {
            if (strlen($line) > $this->maxLength) {
                $this->hint .= PHP_EOL . 'Line ' . $lineNr . ' of your body exceeds the max line length';
                return false;
            }
            $lineNr++;
        }
        return true;
    }
867737
protected function _trans_commit()
	{
		if (odbc_commit($this->conn_id))
		{
			odbc_autocommit($this->conn_id, TRUE);
			return TRUE;
		}

		return FALSE;
	}
853602
public boolean isReallocationRequired(SIMPMessage msg)
    throws SIResourceException
  {
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
      SibTr.entry(tc, "isReallocationRequired", new Object[] { msg });

    boolean reallocate = false;

    JsMessage jsMsg = msg.getMessage();
    SIBUuid12 streamID = msg.getGuaranteedStreamUuid();
    StreamSet streamSet = getStreamSet();

    if(!streamID.equals(streamSet.getStreamID()))
    {
      SIResourceException e = new SIResourceException(
                                nls.getFormattedMessage(
                                  "INTERNAL_MESSAGING_ERROR_CWSIP0001",
                                  new Object[] {
                                    "com.ibm.ws.sib.processor.gd.SourceStreamManager",
                                    "1:717:1.102"},
                                  null));

      // FFDC
      FFDCFilter.processException(
        e,
        "com.ibm.ws.sib.processor.gd.SourceStreamManager.isReallocationRequired",
        "1:724:1.102",
        this);

      SibTr.exception(tc, e);
      SibTr.error(tc, "INTERNAL_MESSAGING_ERROR_CWSIP0001",
        new Object[] {
          "com.ibm.ws.sib.processor.gd.SourceStreamManager",
          "1:731:1.102"});

      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
        SibTr.exit(tc, "isReallocationRequired", e);

      throw e;
    }

    int priority = msg.getPriority();
    Reliability reliability = msg.getReliability();

    // Get the stream. Note that no synchronization is required here
    // since we can't be here if a flush is in progress.
    SourceStream sourceStream = (SourceStream) streamSet.getStream(priority,reliability);

    if(sourceStream != null)
    {
      TickRange tr = sourceStream.getTickRange(jsMsg.getGuaranteedValueValueTick());

      // Need to check if it was in uncommitting state AND if it is still outside
      // the send window.
      if (tr.isReallocationRequired() && 
          sourceStream.isOutsideSendWindow(jsMsg.getGuaranteedValueValueTick()))
        reallocate = true;
    }

    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
      SibTr.exit(tc, "isReallocationRequired", Boolean.valueOf(reallocate));

    return reallocate;
  }
340959
function ErrorMsg()
	{
		if ($this->_logsql) return $this->_errorMsg;
		if (function_exists('sybase_get_last_message'))
			$this->_errorMsg = sybase_get_last_message();
		else
			$this->_errorMsg = isset($php_errormsg) ? $php_errormsg : 'SYBASE error messages not supported on this platform';
		return $this->_errorMsg;
	}
669876
public function hasPhpConfigIssue()
    {
        foreach ($this->requirements as $req) {
            if (!$req->isFulfilled() && $req instanceof PhpConfigRequirement) {
                return true;
            }
        }

        return false;
    }
34160
public function saveFromPost()
    {
        $id = str_replace('\\', '_', get_class($this));
        if ($data = \Devil::app()->post->getOnce($id)) {
            unset($data[$this->getRoleValue('id')]);
            if (isset($data['clearAttachment'])) {
                foreach (array_keys($data['clearAttachment']) as $attr) {
                    $this->clearAttached($attr);
                }
            }
            $this->setAttributes($data);
            if ($this->validate()) {
                $this->save();
                return true;
            } else {
                // validation contains errors
            }
        }
        return false;
    }
308985
public function inTransaction(): bool
    {
        $status = pg_transaction_status($this->getResource());

        return PGSQL_TRANSACTION_INTRANS === $status || PGSQL_TRANSACTION_INERROR === $status;
    }
295006
public function isTransactionVerificationValid()
    {
        $this->verifyTransactionAtGateway();

        $result = $this->getResponse()['message'];

        switch ($result) {
            case self::VS:
                $validate = true;
                break;
            case self::ITF:
                $validate = false;
                break;
            default:
                $validate = false;
                break;
        }

        return $validate;
    }
500852
function MoveNext()
	{
		$ret = @oci_fetch_array($this->_queryID,$this->fetchMode);
		if($ret !== false) {
		global $ADODB_ANSI_PADDING_OFF;
			$this->fields = $ret;
			$this->_currentRow++;
			$this->_updatefields();

			if (!empty($ADODB_ANSI_PADDING_OFF)) {
				foreach($this->fields as $k => $v) {
					if (is_string($v)) $this->fields[$k] = rtrim($v);
				}
			}
			return true;
		}
		if (!$this->EOF) {
			$this->EOF = true;
			$this->_currentRow++;
		}
		return false;
	}
1197515
public function reload(): bool
	{
		if($this->isPersisted)
		{
			$model = static::get($this->getPrimaryKeyValue());

			if($model !== false)
			{
				$this->original = $this->columns = $model->getRawColumnValues();

				$this->related = $model->getRelated();

				return true;
			}
		}

		return false;
	}
1138815
protected function isInTransaction()
    {
        $status = $this
            ->getSession()
            ->getConnection()
            ->getTransactionStatus()
            ;

        return (bool) ($status === \PGSQL_TRANSACTION_INTRANS || $status === \PGSQL_TRANSACTION_INERROR || $status === \PGSQL_TRANSACTION_ACTIVE);
    }
881357
public function postSend() {
        // Now ask phpunit if it wants to catch this message.
        if (PHPUNIT_TEST) {
            if (!phpunit_util::is_redirecting_phpmailer()) {
                debugging('Unit tests must not send real emails! Use $this->redirectEmails()');
                return true;
            }
            $mail = new stdClass();
            $mail->header = $this->MIMEHeader;
            $mail->body = $this->MIMEBody;
            $mail->subject = $this->Subject;
            $mail->from = $this->From;
            $mail->to = $this->to[0][0];
            phpunit_util::phpmailer_sent($mail);
            return true;
        } else {
            return parent::postSend();
        }
    }
609318
public function validateStatus() {
        if ($this->getStatus() === 'closed') {
            $this->setError('global', 'status-final', $this->getFactory()->newError([
                "status" => 400,
                "title" => "Updates No Longer Permitted",
                "detail" => "This intent's status is in a final state and you can no longer update it. If you need to update the asset information, create a new intent with the new data."
            ]));
            return false;
        } else {
            $this->clearError('global', 'status-final');
            return true;
        }
    }
1030834
protected function validateDbPortInstall()
    {
        $field = 'database.port';

        if ($this->isExcluded($field)) {
            return null;
        }

        $value = $this->getSubmitted($field);
        $label = $this->translation->text('Database port');

        if (empty($value)) {
            $this->setErrorRequired($field, $label);
            return false;
        }

        if (!is_numeric($value)) {
            $this->setErrorNumeric($field, $label);
            return false;
        }

        return true;
    }
1286128
public function pass(CommitMessage $msg) : bool
    {
        return $this->isSubjectValid($msg) && $this->isBodyValid($msg);
    }