def _parse_from_import_source(self):
assert self.current.value == "<STR_LIT>", self.current.value<EOL>self.stream.move()<EOL>is_future_import = self.current.value == "<STR_LIT>"<EOL>self.stream.move()<EOL>while (<EOL>self.current is not None<EOL>and self.current.kind in (tk.DOT, tk.NAME, tk.OP)<EOL>and self.current.value != "<STR_LIT>"<EOL>):<EOL><INDENT>self.stream.move()<EOL><DEDENT>if self.current is None or self.current.value != "<STR_LIT>":<EOL><INDENT>return False<EOL><DEDENT>self.check_current(value="<STR_LIT>")<EOL>assert self.current.value == "<STR_LIT>", self.current.value<EOL>self.stream.move()<EOL>return is_future_import<EOL>
Parse the 'from x import' part in a 'from x import y' statement.

        Return true iff `x` is __future__.