class_docstr: NER Sample class to hold the necessary info and provide atomic operations.
class_docstr_tok: ["NER","Sample","class","to","hold","the","necessary","info","and","provide","atomic","operations","."]
code: def is_legal(self):
      if len(self.text.words) != len(self.tags):
          return False
      return True
  
imports: from .sample import Sample
  from ..field import ListField, TextField
  from ....common.utils.list_op import get_align_seq
label_desc: Use image node_id 4 for calling the NERSample obj's underlying member method code with example usage: obj.is_legal() and returns: True, False