It is dropped in both formal and informal speech, unless one is speaking reeeeally slowly. The newer grammar rules concern the masculine definite article only.
Why was the translation 'the books are in the bookcase' marked as wrong? Βιβλιοθήκη translates as book/bookshelf/bookcase/library... how is my answer wrong?