ViewportId.isAttached

bool isAttached()

Returns true if the viewport is attached.