def handleCollision_or_getZeroReward(player, arm, lower=0):
    """ If the player has a method handleCollision, it is called, otherwise a reward of lower is given to the player for that arm.
    """
    if hasattr(player, 'handleCollision'):
        player.handleCollision(arm, lower)
    else:
        player.getReward(arm, lower)
