returns true if the step is active (and included in the order process) and
false if it is not.

@return bool
504522
public function IsActive()
    {
        $bIsActive = $this->GetFromInternalCache('bIsActive');
        if (null === $bIsActive) {
            $bIsActive = parent::IsActive();
            if ($bIsActive) {
                // wrapping only if wrapping is set
                $bIsActive = false;
                $oWrapping = TdbShopWrappingList::GetList();
                if ($oWrapping->Length() > 0) {
                    $bIsActive = true;
                }
                if (false == $bIsActive) {
                    $oCards = TdbShopWrappingCardList::GetList();
                    if ($oCards->Length() > 0) {
                        $bIsActive = true;
                    }
                }
            }
            $this->SetInternalCache('bIsActive', $bIsActive);
        }

        return $bIsActive;
    }
163254
public function isRunning()
    {
        if (!($this->oxactions__oxactive->value
              && $this->oxactions__oxtype->value == 2
              && $this->oxactions__oxactivefrom->value != '0000-00-00 00:00:00'
        )
        ) {
            return false;
        }
        $iNow = \OxidEsales\Eshop\Core\Registry::getUtilsDate()->getTime();
        $iFrom = strtotime($this->oxactions__oxactivefrom->value);
        if ($iNow < $iFrom) {
            return false;
        }

        if ($this->oxactions__oxactiveto->value != '0000-00-00 00:00:00') {
            $iTo = strtotime($this->oxactions__oxactiveto->value);
            if ($iNow > $iTo) {
                return false;
            }
        }

        return true;
    }
30162
public function IsActive()
    {
        $sToday = date('Y-m-d H:i:s');
        $bIsActive = ($this->fieldActive && ($this->fieldActiveFrom <= $sToday && ($this->fieldActiveTo >= $sToday || '0000-00-00 00:00:00' == $this->fieldActiveTo)));

        return $bIsActive;
    }
222215
public function isActive()
    {
        // Get the process id file location for the application.
        $pidFile = $this->config->get('application_pid_file');

        // If the process id file doesn't exist then the daemon is obviously not running.
        if (!is_file($pidFile)) {
            return false;
        }

        // Read the contents of the process id file as an integer.
        $fp = fopen($pidFile, 'r');
        $pid = fread($fp, filesize($pidFile));
        $pid = (int) $pid;
        fclose($fp);

        // Check to make sure that the process id exists as a positive integer.
        if (!$pid) {
            return false;
        }

        // Check to make sure the process is active by pinging it and ensure it responds.
        if (!posix_kill($pid, 0)) {
            // No response so remove the process id file and log the situation.
            @ unlink($pidFile);

            $this->getLogger()->warning('The process found based on PID file was unresponsive.');

            return false;
        }

        return true;
    }
1179442
public boolean wasSkipped() {
        return getSteps().stream().filter(s -> s.getEndState() != StepEndState.SKIPPED).count() == 0;
    }
43172
public function isCacheActiveForTheCurrentUser(): bool
    {
        $active = true;

        // test the cache, with this GET-parameter
        if ($this->disableCacheGetParameter) {
            $testCache = isset($_GET[$this->disableCacheGetParameter]) ? (int) $_GET[$this->disableCacheGetParameter] : 0;
        } else {
            $testCache = 0;
        }

        if ($testCache !== 1) {
            if (
                // admin session is active
                (
                    $this->useCheckForAdminSession
                    &&
                    $this->isAdminSession
                )
                ||
                // server == client
                (
                    $this->useCheckForServerIpIsClientIp
                    &&
                    isset($_SERVER['SERVER_ADDR'])
                    &&
                    $_SERVER['SERVER_ADDR'] === $this->getClientIp()
                )
                ||
                // user is a dev
                (
                    $this->useCheckForDev
                    &&
                    $this->checkForDev()
                )
            ) {
                $active = false;
            }
        }

        return $active;
    }
1098096
def is_active(self):
        """"""
        if self._queue.exhausted:
            return False
        return any(ch.is_active for ch in self._refs.values())
886908
public function isActive(): bool
    {
        foreach ($this->items as $item) {
            if ($item->isActive()) {
                return true;
            }
        }

        return false;
    }
1081386
public function isTransactionActive()
    {
        try {
            $isTransactionActive = $this->connection->isTransactionActive();
        } catch (DBALException $exception) {
            $exception = $this->convertException($exception);
            $this->handleException($exception);
        } catch (PDOException $exception) {
            $exception = $this->convertException($exception);
            $this->handleException($exception);
        }

        return $isTransactionActive;
    }
294972
public function isPublic()
	{
		// This page not active
		if ( ! $this->active) {
			return false;
		}

		$pathEntity = $this->getPathEntity();

		return $pathEntity->isActive()
				&& $pathEntity->getPath() !== null;
	}
1228202
public function isActive()
	{
		$this->numberChecks++;
		$time	= microtime( TRUE ) - $this->time;
		return $time < $this->seconds;
	}
627057
public function isActive()
    {

        if (!isset($this->attributes['link'])) {
            return false;
        }
        $childs = isset($this->attributes['childs']) ? $this->attributes['childs'] : [];
        if (empty($childs)) {
            return $this->compare($this->attributes['link']);
        }
        foreach ($childs as $child) {
            if (!isset($child->attributes['link'])) {
                continue;
            }
            if ($this->compare($child->attributes['link'])) {
                return true;
            }
        }
        return $this->compare($this->attributes['link']);
    }
494398
public function menuActive()
    {
        $idParents = self::getIdParents();
        
        if (in_array( $this->id, $idParents ))
        {
            return true;
        }
        return false;
    }
181395
final function isActive() {return /** @var int $y1 */ /** @var int $y2 */
		($y1 = df_year()) < ($y2 = $this->expYear()) || ($y1 === $y2 && df_month() <= $this->expMonth())
	;}
804127
public function runSteps()
    {
        $steps = $this->steps()->pullSteps();
        foreach ($steps as list($method, $arguments)) {
            $callable = is_callable($method) ? $method : [$this, $method];
            $arguments = (array) $arguments;

            $results = $callable(...$arguments);
            $results = $this->checkResults($results);
            if (!$results) {
                return false;
            }
        }

        return true;
    }
1034599
public function isRunning()
    {
        if (self::STATUS_STARTED !== $this->status) {
            return false;
        }

        $this->updateStatus(false);

        return $this->processInformation['running'];
    }
1230594
public function isActive()
    {
        switch ($this->type) {

            case MenuPresenceType::GROUP:
                return false;

            case MenuPresenceType::ACTION:
                // Activity is based on named route match, unless specific match is defined
                return false;

            case MenuPresenceType::LINK:
                // Activity is based on URL match, unless specific match is defined
                return false;

            // Default omitted on purpose
        }

        return false;
    }