Added the "isOpen" function