closed property
bool
get
closed
For transactions, returns true if the lock is held (even if it has been rolled back).
For database connections, returns true if the connection hasn't been closed yet.
Implementation
bool get closed;