To be fair, I've had lousy doctors who are white. My first kidney specialist (white female) was incompetent and condescending. My current specialist is from Syria and an excellent physician.
It's always good to check out your doctor beforehand. Find out if he/she was a defendant in any malpractice litigation. But be aware that just because your prospective doctor was sued, it doesn't mean he/she is a lousy doctor. Try to find out more about the suit -- the subject of the suit, was it settled, did it reach a verdict or was it dismissed. Also be aware that people sue doctors for bogus reasons. Often they have grand expectations of what a surgery or treatment will do and when it doesn't work out that way, they sue. Or they develop an illness totally unrelated to the surgery or treatment thy received, but they have to blame someone, and that someone is usually the doctor.
Also look at his/her education -- did that doctor go to a reputable medical school or did he attend the Acme School of Taxidermy and Medicine? And if possible, find out whether the doctor graduated near the top, middle or bottom of the class. A foreign educated doctor is not necessarily bad. My kidney specialist graduated from a university school in his native Syria, but he also received and continues to receive further instruction here in the US. He also teaches from time to time, is published and has been in practice here for 20 years without a single lawsuit. I trust him with my life.