No, it's not cheating. But you are expected to understand what your code does and how.
And this brings us to the explanations it provides. Keep in mind that these AI tools excell in producing content that seems right. But they may very well be hallucinating. And just as for code, small details and exact concepts matter.
I would therefore recommend you to verify your final code against official documentation, to make sure you actually understand.
In the end, as long as you don't trust the AI, neither for solutions or knowledge, its just another tool. Use it as it fits.
It's worth noting that the article is from December 2021, making it 1½ years old.