isOpen

isOpen(): Boolean;

The isOpen method of the DbFile class returns true if the database file is currently open; otherwise it returns false.