Make a little safer with isOpen()