code: def elemi(item, inset):
      
      assert isinstance(inset, stypes.SpiceCell)
      assert inset.dtype == 2
      item = ctypes.c_int(item)
      return bool(libspice.elemi_c(item, ctypes.byref(inset)))
docs: Determine whether an item is an element of an integer set.
  
      http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/elemi_c.html
  
      :param item: Item to be tested.
      :type item: int
      :param inset: Set to be tested.
      :type inset: spiceypy.utils.support_types.SpiceCell
      :return: True if item is an element of set.
      :rtype: bool