check for document body