Added template function for checking if there is label, category and tag