It's not necessarily useless. If you make assignments short, provide some time in school to work on it, and do not allow students to use devices with access to general-purpose "AI", then there is a good chance most students will do the work like they're supposed to. Some will still cheat, but it's foolish to reorganize everything around the few who stubbornly refuse to learn.