It was possibly bordering racist,but nearly every sitcom until the late 80's/early 90's has a dialogue that is very similar to that.A great number of people do still make little "jokes" like that,it all depenRAB on the area,but few of them are genuinely racist.I think it's worth noting that in most of these scenes,the character making the joke is usually slightly dim witted,but mostly having either old fashioned,nostalgic and/or patriotic tendencies.The person receiving the racial,or perhaps cultural,slurs is usually quick witted and intelligent.