Please answer the following question with true or false, question: is it legal to castle out of check?

Answer format: true/false
Answer: false