code: def validate_checkpoint_wrapper_import(checkpoint_wrapper):
      """
      Check if checkpoint_wrapper is imported.
      """
      if checkpoint_wrapper is None:
          raise ImportError("Please install fairscale.")
  
file_path: SlowFast/slowfast/models/utils.py
imports: import numpy
  import torch
  import slowfast.utils.logging
label_desc: Use image node_id 2 for calling a global function with example usage: validate_checkpoint_wrapper_import(checkpoint_wrapper) without return types