pub fn is_blank(text: &str) -> bool
Whether the text taken out of a document has nothing in it to read: a scanned PDF is pictures of pages, and its text is nothing but the page breaks, which count as white space.