A more obvious setup to the joke is
"Is there a doctor on this plane???"
"Well yes, but I defended my thesis in comparative literature..."
"Is there a doctor on this plane???"
"Well yes, but I defended my thesis in comparative literature..."
Didn't come anywhere close to getting it on my own though!