code: def test_vissl_strategies(
      tmpdir,
      training_strategy,
      head_name,
      loss_fn_class,
      head_class,
      hooks_list,
  ):
      ret_loss_fn, ret_head, ret_hooks = IMAGE_EMBEDDER_STRATEGIES.get(
          training_strategy
      )(head=head_name)
  
      assert isinstance(ret_loss_fn, loss_fn_class)
      assert isinstance(ret_head, head_class)
      for hook in hooks_list:
          hook_present = 0
          for ret_hook in ret_hooks:
              if isinstance(ret_hook, hook):
                  hook_present = 1
  
          assert hook_present == 1
  
imports: import pytest
  from flash.core.registry import FlashRegistry
  from flash.core.utilities.imports import _TORCHVISION_AVAILABLE, _VISSL_AVAILABLE
  from flash.image.embedding.heads.vissl_heads import SimCLRHead
  from flash.image.embedding.vissl.hooks import TrainingSetupHook
label_desc: Use image node_id 1 for calling a global function with example usage: test_vissl_strategies(tmpdir, training_strategy, head_name, loss_fn_class, head_class, hooks_list) without return types