i think you don't have to check if it is defined, 'cause in messageFormTabs.tpl (https://github.com/WoltLab/WCF/blob/master/com.woltlab.wcf/templates/messageFormTabs.tpl) they also didn't