def is_available() -> bool: """Check if the CUDA back-end is available."""