code: def _is_last_gen(count):
      """list(_is_last_gen(2)) -> [False, False, True]"""
      return chain((False for _ in range(count)), [True])
  
imports: import asyncio
  import inspect
  import threading
  from itertools import chain, count
  from time import sleep
  from timeit import default_timer
  from geopy.exc import GeocoderServiceError
  from geopy.util import logger
label_desc: Use image node_id 1 for calling a global function with example usage: _is_last_gen(count) and returns: chain