def findUser(g,githubUser,quiet=False):

    addPyGithubToPath()
    from github import GithubException

    try:
        user = g.get_user(githubUser)
        if (user == None):
            if not quiet:
                print("No such github user: ",githubUser)
            return False
        else:
            if not quiet:
                print(" githubUser: " + user.login + "...",end='');
            return user
    except GithubException as e:
        print(e)
        if not quiet:
            print("No such github user: ",githubUser);
        return False
wraps the get_user method of the Github object
dataset/ETHPy150Open UCSB-CS-Using-GitHub-In-Courses/github-acad-scripts/github_acadwf.py/findUser