code: def tpu_available(monkeypatch: pytest.MonkeyPatch) -> None:
      mock_tpu_available(monkeypatch)
  
imports: import os
  import sys
  import threading
  from typing import List
  from unittest.mock import Mock
  import lightning.fabric
  import pytest
  import torch.distributed
  from lightning.fabric.accelerators import XLAAccelerator
  from lightning.fabric.strategies.launchers.subprocess_script import _ChildProcessObserver
  from lightning.fabric.utilities.distributed import _distributed_is_initialized
label_desc: Use image node_id 10 for calling a global function with example usage: tpu_available(monkeypatch) without return types