def is_future(stmt):
 if (not isinstance(stmt, ast.From)):
  return 0
 if (stmt.modname == '__future__'):
  return 1
 else:
  return 0

def is_future ( stmt ) : if ( not isinstance ( stmt , ast . From ) ) : return 0 if ( stmt . modname == '__future__' ) : return 1 else : return 0
return true if statement is a well-formed future statement .