def __contains__(self, key):
hash(key)<EOL>try:<EOL><INDENT>if is_float(key) and int(key) != key:<EOL><INDENT>return False<EOL><DEDENT>return key in self._engine<EOL><DEDENT>except (OverflowError, TypeError, ValueError):<EOL><INDENT>return False<EOL><DEDENT>
Check if key is a float and has a decimal. If it has, return False.