Please answer the following question with true or false, question: is it legal to score off a corner kick?

Answer format: true/false
Answer: true