code: def try_to_get_card(id=None, timeout=4):
      """
      Safetly try to get the card object until a timeout value.
      """
  
      def _get_card(card_id):
          container = get_card_container(id=card_id)
          if container is None:
              return False
          return container[0]
  
      return retry_untill_timeout(_get_card, id, timeout=timeout)
  
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 5 for calling a global function with example usage: try_to_get_card(id, timeout) and returns: retry_untill_timeout, container, False