private boolean isStuck(MapLocation location, MapLocation forbidden){

		for(Direction direction : Direction.values()){	

			if(direction.equals(Direction.OMNI) || 
					direction.equals(Direction.NONE)){
				continue;
			}

			if(direction.opposite().equals(myInitialDirection) ||
					direction.opposite().equals(myInitialDirection.rotateLeft()) ||
					direction.opposite().equals(myInitialDirection.rotateRight())){
				continue;
			}

			Team mine = rc.senseMine(location.add(direction));
			if(rc.senseMine(location.add(direction)) == null &&
					rc.canMove(direction) &&
					!location.equals(forbidden)){
				return false;
			}

		} 

		return true;

	}