optical property

bool optical

True if the drive uses an optical disc.

Implementation

bool get optical =>
    _object.getBooleanProperty(_driveInterfaceName, 'Optical') ?? false;