IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /max/get-started.md). For the complete documentation index, see llms.txt.
Skip to main content
For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /max/get-started.md).

Python function

is_virtual_device_mode

is_virtual_device_mode()

max.driver.is_virtual_device_mode() → bool

source

Checks if virtual device mode is currently enabled.

Returns:

True if virtual device mode is enabled (count > 0), False otherwise.

Return type:

bool