class_docstr: This class abstracts handling of a set of version specifiers.
  
  It can be passed a single specifier (``>=3.0``), a comma-separated list of
  specifiers (``>=3.0,!=3.1``), or no specifier at all.
docstr: Return whether or not the item is contained in this specifier.
  
  :param item: The item to check for.
  
  This is used for the ``in`` operator and behaves the same as
  :meth:`contains` with no ``prereleases`` argument passed.
  
  >>> "1.2.3" in SpecifierSet(">=1.0.0,!=1.0.1")
  True
  >>> Version("1.2.3") in SpecifierSet(">=1.0.0,!=1.0.1")
  True
  >>> "1.0.1" in SpecifierSet(">=1.0.0,!=1.0.1")
  False
  >>> "1.3.0a1" in SpecifierSet(">=1.0.0,!=1.0.1")
  False
  >>> "1.3.0a1" in SpecifierSet(">=1.0.0,!=1.0.1", prereleases=True)
  True
docstr_tok: ["Return","whether","or","not","the","item","is","contained","in","this","specifier",".",":","param","item",":","The","item","to","check","for",".","This","is","used","for","the","``","in","``","operator","and","behaves","the","same","as",":","meth",":","`","contains","`","with","no","``","prereleases","``","argument","passed",".",">",">",">","``","1.2.3","''","in","SpecifierSet","(","``",">","=1.0.0",",","!","=1.0.1","''",")","True",">",">",">","Version","(","``","1.2.3","''",")","in","SpecifierSet","(","``",">","=1.0.0",",","!","=1.0.1","''",")","True",">",">",">","``","1.0.1","''","in","SpecifierSet","(","``",">","=1.0.0",",","!","=1.0.1","''",")","False",">",">",">","``","1.3.0a1","''","in","SpecifierSet","(","``",">","=1.0.0",",","!","=1.0.1","''",")","False",">",">",">","``","1.3.0a1","''","in","SpecifierSet","(","``",">","=1.0.0",",","!","=1.0.1","''",",","prereleases=True",")","True"]
code: def __contains__(self, item: UnparsedVersion) -> bool:
      """Return whether or not the item is contained in this specifier.
  
      :param item: The item to check for.
  
      This is used for the ``in`` operator and behaves the same as
      :meth:`contains` with no ``prereleases`` argument passed.
  
      >>> "1.2.3" in SpecifierSet(">=1.0.0,!=1.0.1")
      True
      >>> Version("1.2.3") in SpecifierSet(">=1.0.0,!=1.0.1")
      True
      >>> "1.0.1" in SpecifierSet(">=1.0.0,!=1.0.1")
      False
      >>> "1.3.0a1" in SpecifierSet(">=1.0.0,!=1.0.1")
      False
      >>> "1.3.0a1" in SpecifierSet(">=1.0.0,!=1.0.1", prereleases=True)
      True
      """
      return self.contains(item)
  
imports: import abc
  import itertools
  import re
  from typing import Callable, Iterable, Iterator, List, Optional, Tuple, TypeVar, Union
  from .utils import canonicalize_version
  from .version import Version
label_desc: Use image node_id 11 for calling the SpecifierSet obj's underlying member method code with example usage: obj.__contains__(item) and returns: self