class_docstr: Beam search 
class_docstr_tok: ["Beam","search"]
code: def done(self):
      return self._done
  
imports: import math
  import paddle
  from paddle import nn
  import paddle.nn.functional
  from paddle.nn import LayerList
  from paddle.nn import Dropout, Linear, LayerNorm
  import numpy
  from ppocr.modeling.backbones.rec_svtrnet import Mlp, zeros_, ones_
  from paddle.nn.initializer import XavierNormal
label_desc: Use image node_id 4 for calling the Beam obj's underlying member method code with example usage: obj.done() and returns: self