check that message key is set