Add check to panels-pane tpl