Added 'isClosed' method so Brackets 1.0 will work.