Added the isOpen method

This pull request adds the isOpen method to check whether the calendar is open.