def valid_region_to_explore(region, world, player):
    return ((region.type == RegionType.Dungeon) or (region.name in world.inaccessible_regions[player]))
def valid_region_to_explore(region, world, player):
    return ((region.type == RegionType.Dungeon) or (region.name in world.inaccessible_regions[player]))