original_string: public static function is_active($status) {
          // List of statuses which doesn't require any further processing.
          $finalstatuses = [
              self::DATAREQUEST_STATUS_COMPLETE,
              self::DATAREQUEST_STATUS_CANCELLED,
              self::DATAREQUEST_STATUS_REJECTED,
              self::DATAREQUEST_STATUS_DOWNLOAD_READY,
              self::DATAREQUEST_STATUS_EXPIRED,
              self::DATAREQUEST_STATUS_DELETED,
          ];
  
          return !in_array($status, $finalstatuses);
      }
code: public static function is_active($status) {
          // List of statuses which doesn't require any further processing.
          $finalstatuses = [
              self::DATAREQUEST_STATUS_COMPLETE,
              self::DATAREQUEST_STATUS_CANCELLED,
              self::DATAREQUEST_STATUS_REJECTED,
              self::DATAREQUEST_STATUS_DOWNLOAD_READY,
              self::DATAREQUEST_STATUS_EXPIRED,
              self::DATAREQUEST_STATUS_DELETED,
          ];
  
          return !in_array($status, $finalstatuses);
      }
code_tokens: public static function is_active ( $ status ) { // List of statuses which doesn't require any further processing. $ finalstatuses = [ self :: DATAREQUEST_STATUS_COMPLETE , self :: DATAREQUEST_STATUS_CANCELLED , self :: DATAREQUEST_STATUS_REJECTED , self :: DATAREQUEST_STATUS_DOWNLOAD_READY , self :: DATAREQUEST_STATUS_EXPIRED , self :: DATAREQUEST_STATUS_DELETED , ] ; return ! in_array ( $ status , $ finalstatuses ) ; }
docstring: Determines whether a request is active or not based on its status.
  
  @param int $status The request status.
  @return bool
docstring_tokens: Determines whether a request is active or not based on its status .