The Wonderful Wizard of Oz

The Wonderful Wizard of Oz (/ɒz/) is an American children's novel written by author L. Frank Baum and illustrated by W.W. Denslow, originally published by the George M. Hill Company in Chicago on May 17, 1900. It has since been reprinted on numerous occasions, most often under the title The Wizard of Oz, which is the title of the popular 1902 Broadway musical adaptation as well as the iconic 1939 musical film adaptation.

Question: was the wizard of oz a book before the film
Answer: yes