public function isRunning()
    {
        $runningStatuses = [
            self::SUBSCRIPTION_STATUS_ACTIVE,
            self::SUBSCRIPTION_STATUS_TRIAL,
        ];

        return in_array($this->getStatus(), $runningStatuses, true);
    }
public function isRunning()
    {
        $runningStatuses = [
            self::SUBSCRIPTION_STATUS_ACTIVE,
            self::SUBSCRIPTION_STATUS_TRIAL,
        ];

        return in_array($this->getStatus(), $runningStatuses, true);
    }
public function isRunning ( ) { $ runningStatuses = [ self :: SUBSCRIPTION_STATUS_ACTIVE , self :: SUBSCRIPTION_STATUS_TRIAL , ] ; return in_array ( $ this -> getStatus ( ) , $ runningStatuses , true ) ; }
Check if the current subscription is running.

@return boolean
Check if the current subscription is running .