Danny
It was considered polite to take your hat off indoors (unless you were a policeman or some other official, when you kept it on to preserve your authority).
exactly so - as the poet Milligan put it (from American TV coppers one presumes):
Why?
American Detectives
Never remove their hats
When investigating murders
In other people's flats.
P.S. Chinese Tecs
Are far more dreaded!
And they always appear
Bare-headed!