@tasklets.tasklet<EOL><INDENT>def has_next_async(self):<DEDENT>
if self._fut is None:<EOL><INDENT>self._fut = self._iter.getq()<EOL><DEDENT>flag = True<EOL>try:<EOL><INDENT>yield self._fut<EOL><DEDENT>except EOFError:<EOL><INDENT>flag = False<EOL><DEDENT>raise tasklets.Return(flag)<EOL>
Return a Future whose result will say whether a next item is available.

        See the module docstring for the usage pattern.