bool
defines(string $id, string $domain = 'messages')
Checks if a message has a translation (it does not take into account the fallback mechanism).
Parameters string $id The message id string $domain The domain name Return Value bool true if the message has a translation, false otherwise