code: def first(it):
      for d in it:
          if d:
              return d
  
imports: import functools
  import threading
  import collections
  import contextlib
  import six
label_desc: Use image node_id 8 for calling a global function with example usage: first(it) and returns: d