pub fn has(&self, message_id: &str) -> bool {
        let config_lock = self.language_config.read();
        let mut has_message = false;

        config_lock
            .language_bundles
            .iter()
            .for_each(|language_bundle| {
                has_message |= language_bundle.bundle.has_message(message_id)
            });

        has_message
    }
/// Returns true if a message with the specified `message_id` is
/// available in any of the languages currently loaded (including
/// the fallback language).
Returns true if a message with the specified `message_id` is
available in any of the languages currently loaded (including
the fallback language).
Returns true if a message with the specified ` message_id ` is available in any of the languages currently loaded ( including the fallback language ) .
pub fn has(&self, message_id: &str) -> bool {
        let config_lock = self.language_config.read();
        let mut has_message = false;
        config_lock
            .language_bundles
            .iter()
            .for_each(|language_bundle| {
                has_message |= language_bundle.bundle.has_message(message_id)
            });
        has_message
    }
pub fn has ( & self , message_id : & str ) -> bool { let config_lock = self . language_config . read ( ) ; let mut has_message = false ; config_lock . language_bundles . iter ( ) . for_each ( | language_bundle | { has_message |= language_bundle . bundle . has_message ( message_id ) } ) ; has_message }
Returns true if a message with the specified `message_id` is
available in any of the languages currently loaded (including
the fallback language).
Returns true if a message with the specified ` message_id ` is available in any of the languages currently loaded ( including the fallback language ) .
&self
message_id
&str
&self
message_id
&str