Python sizin tek dostunuz

def mpdcontrol():
    #lamerlik dizboyu
    home = os.getenv("HOME")
    if os.path.exists(home+"/.mpd/mpd.pid"):
        return True
    else:
        return False