class_docstr: Produces inputs and answer spans for Squad.
class_docstr_tok: ["Produces","inputs","and","answer","spans","for","Squad","."]
code: def _only_pad(self, token_id_list: List[int]) -> bool:
      for token_id in token_id_list:
          if token_id != self.SPAN_PAD_IDX:
              return False
      return True
  
imports: from typing import List
  import torch
  from pytext.common.constants import SpecialTokens
  from pytext.config.component import ComponentType, create_component
  from pytext.data.tensorizers import TokenTensorizer
  from pytext.data.tokenizers import Tokenizer, WordPieceTokenizer
  from pytext.data.utils import pad_and_tensorize, VocabBuilder, Vocabulary
label_desc: Use image node_id 8 for calling the SquadTensorizer obj's underlying member method code with example usage: obj._only_pad(token_id_list) and returns: True, False