There’s no way for such a system to know it’s AI generated unless there’s some metadata that makes it obvious.
I agree with your comment but just want to point out that AI-generated images actually often do contain metadata, usually describing the model and prompt used.