def IS(instance, other):  
try:<EOL><INDENT>instance = instance._redpipe_future_result  <EOL><DEDENT>except AttributeError:<EOL><INDENT>pass<EOL><DEDENT>try:<EOL><INDENT>other = other._redpipe_future_result<EOL><DEDENT>except AttributeError:<EOL><INDENT>pass<EOL><DEDENT>return instance is other<EOL>
Support the `future is other` use-case.
Can't override the language so we built a function.
Will work on non-future objects too.

:param instance: future or any python object
:param other: object to compare.
:return: