code: def should_skip(uri, check_only=True):
      message = None
      if uri == S3_URI and sys.platform in ("win32", "darwin"):
          message = "TODO: `s3` emulator not setup properly on macOS/Windows yet"
      elif uri in (AZ_URI, AZ_DSN_URI) and sys.platform == "win32":
          message = "TODO: `az` does not work on Windows yet"
      elif uri == GCS_URI and sys.platform in ("win32", "darwin"):
          message = "TODO: `gs` does not work on Windows yet"
      elif uri == HDFS_URI and sys.platform in ("win32", "darwin"):
          message = (
              "TODO: `hdfs` does not work properly on macOS/Windows yet"
          )
  
      if message is not None:
          if check_only:
              return True
          else:
              pytest.skip(message)
      else:
          return False
  
imports: import functools
  import os
  import posixpath
  import random
  import socket
  import sys
  import time
  from urllib.parse import urlparse
  import pytest
  import tensorflow
  import tensorflow_io
label_desc: Use image node_id 3 for calling a global function with example usage: should_skip(uri, check_only) and returns: False, True