Hopefully we'd know our own students abilities well enough to be able to tell if they've used ChatGPT for a homework. And if it's hard to tell then the task could always just be done within lesson time under supervision - easy fix.