My Grandma told me something similar. "You can go anywhere with a white shirt and a smile." Shortly after I followed that advice, I learned that "pants" should definitely be added to that list.
I took a fish head to the movies and I didn't have to pay. -- Fish Heads, Saturday Night Live, 1977.