Please answer the following question with true or false, question: was the ninth gate based on a book?

Answer format: true/false
Answer: true