original_string: public function isOk()
      {
          $codes = [
              static::STATUS_OK,
              static::STATUS_CREATED,
              static::STATUS_ACCEPTED,
              static::STATUS_NON_AUTHORITATIVE_INFORMATION,
              static::STATUS_NO_CONTENT
          ];
  
          return in_array($this->code, $codes);
      }
code: public function isOk()
      {
          $codes = [
              static::STATUS_OK,
              static::STATUS_CREATED,
              static::STATUS_ACCEPTED,
              static::STATUS_NON_AUTHORITATIVE_INFORMATION,
              static::STATUS_NO_CONTENT
          ];
  
          return in_array($this->code, $codes);
      }
code_tokens: public function isOk ( ) { $ codes = [ static :: STATUS_OK , static :: STATUS_CREATED , static :: STATUS_ACCEPTED , static :: STATUS_NON_AUTHORITATIVE_INFORMATION , static :: STATUS_NO_CONTENT ] ; return in_array ( $ this -> code , $ codes ) ; }
docstring: Check if the response was OK
  
  @return bool
docstring_tokens: Check if the response was OK