I think it'll be difficult or perhaps even practically impossible to detect if a single blob of text is generated by AI in the future. However I think we'll find there's a practical means of determining if multiple blobs of text in a set of blobs was generated by AI. For example, if you have a class of students turning in reports on the same topic: an AI would produce similar outputs for roughly the same prompts because it was trained in a specific way. Those reports would have some statistical similarities.
But this isn't an AI detection system, it's a general cheating detection system. I'd expect it to also detect if one person wrote the reports for multiple students and simply rephrased each report. But if the intention is to detect cheating, that's not a bad thing.