tl;dr: Don't cheat in university. Longer: I wouldn't even bother to try find out whether students cheat in homework; it is their responsibility as adults to learn their subject, and if they don't, this will be detected by old-fashioned supervised exams. ChatGPT changes little.