(board, position)
return board[position] in item_values
Determins is a position has a powerup present
Determins is a position has a powerup present
Determins is a position has a powerup present
def position_is_powerup(board, position):
    '''Determins is a position has a powerup present'''
    powerups = [
        constants.Item.ExtraBomb, constants.Item.IncrRange, constants.Item.Kick
    ]
    item_values = [item.value for item in powerups]
    return board[position] in item_values
def position_is_powerup ( board , position ) : powerups = [ constants . Item . ExtraBomb , constants . Item . IncrRange , constants . Item . Kick ] item_values = [ item . value for item in powerups ] return board [ position ] in item_values