def _get_post_header(subreddit, sort, top_num):
    url = 'http://reddit.com/r/' + subreddit
    if sort == 'new':
        heading = '%s Newest Posts from' % (top_num)
    elif sort == 'top':
        heading = 'Top %s Posts from' % (top_num)
    elif sort == 'rising':
        heading = '%s Fastest Rising Posts' % (top_num)
    else:
        heading = '%s Hottest Posts' % (top_num)
    heading += ' <%s|/r/%s>\n' % (url, subreddit)
    return heading
Returns True if the current user is an admin, False otherwise.
dataset/ETHPy150Open arjunblj/slack-reddit/app.py/_get_post_header--crossover with--dataset/ETHPy150Open google/simian/src/simian/mac/admin/__init__.py/AdminHandler.IsAdminUser