Probably not, but that's where code review comes in. Which can also partially be done by AI, ironically.