def set_network_enabled(active: bool | None = None) -> None: ... def is_network_enabled() -> bool: ...