human
Complete the below
@second_order_decorator(jwt_required)
def is_admin(f):

    ''''Decorator function for things allowed to admins and super admins.
    :param f:
    :return:'
    '''
assistant
#Here is the Python code you requested.
    @wraps(f)
    def decorated_function(*args, **kwargs):
        user = current_identity
        if ((not user.is_admin) and (not user.is_super_admin)):
            return ForbiddenError({'source': ''}, 'Admin    access    is    required').respond()
        return f(*args, **kwargs)
    return decorated_function