Please answer the following question with true or false, question: can a king take a piece to get out of check?

Answer format: true/false
Answer: true