All comedies play off stereotypes.
Do you really think that the Big bang theory is an accurate characterization of  super smart scientists? 
Do you think Stephen Hawking lives in poverty in a shared apartment and reads comic books?