You can't tell if a human has reviewed AI-assisted / generated code. But you can tell if an AI wrote a comment or commit message. The evaluation section of the paper goes over in-depth the findings:
https://github.com/ActuallyTaylor/strata/blob/main/paper/Tay...