has_active_project#

property Optislang.has_active_project: bool#

Whether a project is loaded.

Returns:
bool

True if a project is loaded, False otherwise.

Raises:
OslCommunicationError

Raised when an error occurs while communicating with the server.

OslCommandError

Raised when a command or query fails.

TimeoutError

Raised when the timeout float value expires.

Deprecated since version 0.6.0: Use Optislang.application.project is not None instead.