def checkPointsButtonClicked(game, clickX, clickY):
    """
    Returns true if points button was clicked, else false
    """
    return (game.pointsButtonObj is not None and 
        game.pointsButtonObj.collidepoint(clickX, clickY))