code: private boolean checkObjectId(int dtx, int dty)
      {
          final int tw = transformable.getWidth() / map.getTileWidth();
          final int th = transformable.getHeight() / map.getTileHeight();
          for (int tx = dtx; tx < dtx + tw; tx++)
          {
              for (int ty = dty; ty < dty + th; ty++)
              {
                  final Collection<Integer> ids = mapPath.getObjectsId(tx, ty);
                  if (!ids.isEmpty() && !ids.contains(id))
                  {
                      return false;
                  }
              }
          }
          return mapPath.isAreaAvailable(this, dtx, dty, tw, th, id);
      }
docs: Check if the object id location is available for the pathfindable.
  
  @param dtx The tile horizontal destination.
  @param dty The tile vertical destination.
  @return <code>true</code> if available, <code>false</code> else.