def within_bounds(world_state, pose):
    """ Returns true if pose is inside bounds of world_state """
    if pose[0] >= len(world_state) or pose[1] >= len(world_state[0]) or pose[0] < 0 or pose[1] < 0:
        return False
    else:
        return True