code: public function getIsCollection()
      {
          return in_array($this->type, [
              self::TYPE_CODE,
              self::TYPE_STATEMENT,
              self::TYPE_PARENTHESIS,
          ], true);
      }
docs: Returns whether the token represents a collection of tokens.
  @return bool whether the token represents a collection of tokens.