(board, position)
return board[position] in [
        constants.Item.Agent0.value, constants.Item.Agent1.value,
        constants.Item.Agent2.value, constants.Item.Agent3.value
    ]
Determins if a position has an agent present
Determins if a position has an agent present
Determins if a position has an agent present
def position_is_agent(board, position):
    '''Determins if a position has an agent present'''
    return board[position] in [
        constants.Item.Agent0.value, constants.Item.Agent1.value,
        constants.Item.Agent2.value, constants.Item.Agent3.value
    ]
def position_is_agent ( board , position ) : return board [ position ] in [ constants . Item . Agent0 . value , constants . Item . Agent1 . value , constants . Item . Agent2 . value , constants . Item . Agent3 . value ]