def is_staff(course):
    'Get whether the current user is enrolled as staff, instructor, or grader\n    for ``course``.\n\n    :param course: the course code to check\n    :type course: str\n\n    :return: ``True`` if the user is on staff, ``False`` otherwise\n    '
    return is_enrolled(course, roles=AUTHORIZED_ROLES)
Get whether the current user is enrolled as staff, instructor, or grader
for ``course``.

:param course: the course code to check
:type course: str

:return: ``True`` if the user is on staff, ``False`` otherwise
def is_staff(course):
    'Get whether the current user is enrolled as staff, instructor, or grader\n    for ``course``.\n\n    :param course: the course code to check\n    :type course: str\n\n    :return: ``True`` if the user is on staff, ``False`` otherwise\n    '
    return is_enrolled(course, roles=AUTHORIZED_ROLES)