Yes that’s one of the criteria that were verified by humans. In the case of the Riemann hypothesis it’s not that difficult because it’s not that complex (only proving it is difficult, spelling it out isn’t), and there was an existing human curated formalization of it too.
You can read more about it here: https://leanprover-community.github.io/blog/posts/riemann-hypothesis/