/** * Check if a message key is defined. * * @param key the message key * @return a Boolean */ public Boolean isDefinedAt(String key) { return messagesApi.isDefinedAt(lang, key); }
/** * Check if a message key is defined. * * @param key the message key * @return a Boolean */ public Boolean isDefinedAt(String key) { return messagesApi.isDefinedAt(lang, key); }
/** * Check if a message key is defined. * * @param key the message key * @return a Boolean */ public Boolean isDefinedAt(String key) { return messagesApi.isDefinedAt(lang, key); }
/** * Check if a message key is defined. * * @param key the message key * @return a Boolean */ public Boolean isDefinedAt(String key) { return messages.isDefinedAt(lang, key); }
/** * Check if a message key is defined. * @param lang the message lang * @param key the message key * @return a Boolean */ public static Boolean isDefined(Lang lang, String key) { return getMessagesApi().isDefinedAt(lang, key); }
/** * Check if a message key is defined. * @param key the message key * @return a Boolean */ public static Boolean isDefined(String key) { return getMessagesApi().isDefinedAt(getLang(), key); }