def METHOD_NAME(gid, name):
    result = subprocess.run(['/usr/sbin/groupmod', '-n', name, get_group_by_gid(gid)], stdout=subprocess.PIPE,
                            stderr=subprocess.PIPE)
    return result.returncode == 0