def getleaderboarddisplay(leg_body, owner_filter):
    """
    Returns the leaderboard ScoreDisplay given a legislative body and owner
    """
    try:
        return ScoreDisplay.objects.get(name="%s_leader_%s" % (leg_body.name, owner_filter))
    except:
        return None
dataset/ETHPy150Open PublicMapping/DistrictBuilder/django/publicmapping/redistricting/views.py/getleaderboarddisplay/original