code: def find_target_platforms(tail_args):
      target_platforms = []
  
      arg_idx = 0
      while arg_idx < len(tail_args):
          arg = tail_args[arg_idx]
          if arg.startswith("--target-platform"):
              if len(arg) == len("--target-platform"):
                  target_platforms.append(tail_args[arg_idx + 1])
                  arg_idx += 2
              elif arg[len("--target-platform")] == "=":
                  target_platforms.append(
                      arg[(len("--target-platform") + 1) :]
                  )
                  arg_idx += 1
          else:
              arg_idx += 1
  
      return [platform.lower() for platform in target_platforms]
  
imports: from __future__ import print_function
  import glob
  import subprocess
  import shutil
  import os
  import stat
  import sys
  import platform
  import tempfile
  import hashlib
  from base64 import urlsafe_b64encode
  from argparse import ArgumentParser
  from enum import Enum
label_desc: Use image node_id 3 for calling a global function with example usage: find_target_platforms(tail_args) and returns: unknown