code: def flip_coin() -> str:
      import random
  
      @ray.remote
      def decide(heads: bool) -> str:
          return workflow.continuation(
              handle_heads.bind() if heads else handle_tails.bind()
          )
  
      return workflow.continuation(decide.bind(random.random() > 0.5))
  
imports: import ray
  from ray import workflow
label_desc: Use image node_id 3 for calling a global function with example usage: flip_coin() and returns: workflow, workflow