code: def is_resumed():
      return current.origin_run_id is not None
  
imports: import sys
  import os
  from metaflow.exception import MetaflowException
  from metaflow import current
  from metaflow.cards import get_cards
  from metaflow.plugins.cards.exception import CardNotPresentException
label_desc: Use image node_id 7 for calling a global function with example usage: is_resumed() and returns: unknown