<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def comments(accountable):
 """ Lists all comments for a given issue key. """

    comments = accountable.issue_comments()
    headers = sorted(['author_name', 'body', 'updated'])

    if comments:
        rows = [[v for k, v in sorted(c.items()) if k in headers]
                for c in comments]
        rows.insert(0, headers)
        print_table(SingleTable(rows))
    else:
        click.secho('No comments found for {}'.format(
            accountable.issue_key
        ), fg='red')