"This guy is finished."

Well...maybe not.  I mean, even in the "made-for-TV world," he wouldn't be.  Lots of examples of mentally unstable-but-brilliant TV characters who soldier on, in spite of--or because of--their illnesses (witness: the Knack, Person of Interest, House, Perception.)

Truth is often stranger than fiction, so I suspect that Mr. Beaver will be associated with the legal profession for the rest of his working life.