check for defined fields on notification in templates