In Catholic Church, only a baptized man can be ordained a priest.
cf. CCC 1577 "Only a baptized man (vir) validly receives sacred ordination." The Lord Jesus chose men (viri) to form the college of the twelve apostles, and the apostles did the same when they chose collaborators to succeed them in their ministry. The college of bishops, with whom the priests are united in the priesthood, makes the college of the twelve an ever-present and ever-active reality until Christ's return. The Church recognizes herself to be bound by this choice made by the Lord himself. For this reason the ordination of women is not possible.
In the Catholic Church, when candidates to the priesthood present themselves, what verification processes are there, if any, to determine whether they are really men?
Related: Were the medieval popes examined on a toilet-lid-like chair to establish their masculinity?