def table(self, rows=[], headers=[], striped=True, **attributes):
        h = list(headers)
        r = list(rows) if not h else [h] + list(rows)
        a = ["<table%s>\n" % self._attrs(**attributes)]
        if h:
            a.append("\t<colgroup>\n")
            a.extend("\t\t<col class=\"%s\">\n" % v for v in h)
            a.append("\t</colgroup>\n")
        for i, row in enumerate(r):
            a.append("\t<tr%s>\n" % (" class=\"%s\"" % ("odd", "even")[i % 2] if striped else ""))
            for j, v in enumerate(row):
                if i == 0 and h:
                    a.append("\t\t<th>%s</th>\n" % v)
                else:
                    a.append("\t\t<td>%s</td>\n" % v)
            a.append("\t</tr>\n")
        a.append("</table>\n")
        return "".join(a)
Identifies if the user is authenticated to continue or not.
dataset/ETHPy150Open clips/pattern/pattern/server/__init__.py/HTML.table--crossover with--dataset/ETHPy150Open django-tastypie/django-tastypie/tastypie/authentication.py/Authentication.is_authenticated