Restaurant365 Interview Question

How do you decide whether AI-generated code is useful or not?