Quite honestly, that issue has been moved to a different point in the career: yearly psych evaluations during the medical, plus thorough in psych evaluations before hiring someone and again before upgrading him or her to captain. Pilots being alone on the flight deck is absolute normal routine anyway.