code: def requires(self, remote_name):
      if (
          remote_name not in REMOTES
          or remote_name in self.enabled_remotes
      ):
          return
  
      pytest.skip(f"{remote_name} tests not enabled through CLI")
  
imports: import json
  import os
  import sys
  from contextlib import suppress
  import pytest
  from dvc import env
  from dvc.stage import PipelineStage
  from dvc.testing.fixtures import *
  from .dir_helpers import *
  from .remotes import *
  from .scripts import *
label_desc: Use image node_id 2 for calling the DVCTestConfig obj's underlying member method code with example usage: obj.requires(remote_name) without return types