def METHOD_NAME(text, align=None, is_head=False):
    if is_head:
        tag = 'th'
    else:
        tag = 'td'
    html = '  <' + tag
    if align:
        html += ' style="text-align:' + align + '"'
    return html + '>' + text + '</' + tag + '>\n'