class_docstr: This is an abstract class for Int64Index, UInt64Index.
class_docstr_tok: ["This","is","an","abstract","class","for","Int64Index",",","UInt64Index","."]
docstr: Check if key is a float and has a decimal. If it has, return False.
code: def __contains__(self, key):
      """
      Check if key is a float and has a decimal. If it has, return False.
      """
      hash(key)
      try:
          if is_float(key) and int(key) != key:
              return False
          return key in self._engine
      except (OverflowError, TypeError, ValueError):
          return False
  
imports: import warnings
  import numpy
  from pandas._libs import index
  import pandas.compat
  from pandas.util._decorators import Appender, cache_readonly
  from pandas.core.dtypes.common import is_bool, is_bool_dtype, is_dtype_equal, is_extension_array_dtype, is_float, is_integer_dtype, is_scalar, needs_i8_conversion, pandas_dtype
  import pandas.core.dtypes.concat
  from pandas.core.dtypes.missing import isna
  from pandas.core import algorithms
  import pandas.core.common
  import pandas.core.indexes.base
  from pandas.core.indexes.base import Index, InvalidIndexError, _index_shared_docs
  from pandas.core.ops import get_op_result_name
label_desc: Use image node_id 1 for calling the IntegerIndex obj's underlying member method code with example usage: obj.__contains__(key) and returns: unknown, False, False