def check_saved_password():
    """Return True if the user has opted to save password"""
    f = open(home + '/.pingmeconfig', 'r')
    next_one = False
    for line in f.readlines():
        if next_one is True:
            return True if "YES" in line.split() else False
        if line == "[preference]\n":
            next_one = True
dataset/ETHPy150Open OrkoHunter/ping-me/ping_me/authenticate.py/check_saved_password/original