support maps without an attribution panel

A JavaScript error occurs if the map doesn't have an attribution panel.  I didn't see where base layers can require maps to have and attribution panel.  Can they?