frameIsEnd() {
    const total = this.getFramesNum();
    if (this.frameCursor == total && this.state !== 'end') {
      this.state = 'end';
      return true;
    }

    return false;
  }
Determine if the last frame is reached
@public