code: def validate_world_size(world_size):
      world_size = int(world_size)
      if world_size < 2:
          raise argparse.ArgumentTypeError(
              f"world_size {world_size} must be > 1"
          )
      return world_size
  
imports: import argparse
  import logging
  import os
  from examples.multiprocess_launcher import MultiProcessLauncher
label_desc: Use image node_id 1 for calling a global function with example usage: validate_world_size(world_size) and returns: world_size