refactor: extract seal check into method and reuse (#1135)
refactor: extract seal check into method and reuse (#1135)

* refactor: extract seal check into method and reuse

* move method checkIfSealed() to a more appropriate place

nitincchauhan/HikariCP,brettwooldridge/HikariCP,brettwooldridge/HikariCP