The Goenka centers do have a filtering questionnaire, but I think they tend to just get so incredibly much wrong on their handling of psychological problems. It's infuriating.
I will recommend that a friend does one, after giving some warnings, and making sure to talk with them afterwards, but I wouldn't blindly recommend anybody do one.
I imagine mental health issues are handled differently between schools and within them by the different teachers, but it's probably something that could be improved upon. There's probably also some merit to 'riding out the storm' for some people, but anyone with a family history of psychosis, or unmanageable psychiatric illness might want to think twice about attending, or at least be prepared to leave the course at first signs of trouble.
I will recommend that a friend does one, after giving some warnings, and making sure to talk with them afterwards, but I wouldn't blindly recommend anybody do one.