You could just as easily run the essay thru an AI content detecting software - similar to the ones that scan for plagiarism. Products are already out there - any student using chatgpt can easily be caught be a teacher using