public boolean hasLocale(Locale locale) {

        if (locale == null) {
            throw new CmsIllegalArgumentException(Messages.get().container(Messages.ERR_NULL_LOCALE_0));
        }

        return m_locales.contains(locale);
    }
public boolean hasLocale ( Locale locale ) { if ( locale == null ) { throw new CmsIllegalArgumentException ( Messages . get ( ) . container ( Messages . ERR_NULL_LOCALE_0 ) ) ; } return m_locales . contains ( locale ) ; }
@see org.opencms.xml.I_CmsXmlDocument#hasLocale(java.util.Locale)