docstr: Extension attribute getter. Check if a token or span has a vector.
  
  obj (Token / Span): The object the attribute is called on.
  RETURNS (bool): Whether the key of that object is in the table.
docstr_tok: ["Extension","attribute","getter",".","Check","if","a","token","or","span","has","a","vector",".","obj","(","Token","\/","Span",")",":","The","object","the","attribute","is","called","on",".","RETURNS","(","bool",")",":","Whether","the","key","of","that","object","is","in","the","table","."]
code: def in_s2v(self, obj: Union[Token, Span]) -> bool:
      """Extension attribute getter. Check if a token or span has a vector.
  
      obj (Token / Span): The object the attribute is called on.
      RETURNS (bool): Whether the key of that object is in the table.
      """
      return self.s2v_key(obj) in obj.doc._._s2v
  
imports: from typing import Tuple, Union, List, Dict, Callable, Iterable, Optional
  from spacy.language import Language
  from spacy.tokens import Doc, Token, Span
  from spacy.training import Example
  from spacy.vocab import Vocab
  from spacy.util import SimpleFrozenDict
  from pathlib import Path
  import numpy
  from .sense2vec import Sense2Vec
  from .util import registry
label_desc: Use image node_id 6 for calling the Sense2VecComponent obj's underlying member method code with example usage: obj.in_s2v(obj) and returns: unknown