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