domain:is_spawnable()

Since: nightly builds only

Returns false if this domain will never be able to spawn a new pane/tab/window, true otherwise.

Serial ports are represented by a serial domain that is not spawnable.