code: def is_generator(code: types.CodeType) -> bool:
      co_generator = 0x20
      return (code.co_flags & co_generator) > 0
  
imports: import copy
  import dataclasses
  import dis
  import itertools
  import sys
  import types
  from typing import Any, Callable, cast, Dict, Iterator, List, Optional, Tuple
  from .bytecode_analysis import get_indexof, propagate_line_nums, remove_extra_line_nums, stacksize_analysis
label_desc: Use image node_id 47 for calling a global function with example usage: is_generator(code) and returns: unknown