code: function(ll, options) {
          if (typeof options === "boolean") {
              options =  {inclusive: options};
          }
          options = options || {};
          var contains = this.contains(ll.lon, ll.lat, options.inclusive),
              worldBounds = options.worldBounds;
          if (worldBounds && !contains) {
              var worldWidth = worldBounds.getWidth();
              var worldCenterX = (worldBounds.left + worldBounds.right) / 2;
              var worldsAway = Math.round((ll.lon - worldCenterX) / worldWidth);
              contains = this.containsLonLat({
                  lon: ll.lon - worldsAway * worldWidth,
                  lat: ll.lat
              }, {inclusive: options.inclusive});
          }
          return contains;
      }
docs: APIMethod: containsLonLat
  Returns whether the bounds object contains the given <OpenLayers.LonLat>.
  
  Parameters:
  ll - {<OpenLayers.LonLat>|Object} OpenLayers.LonLat or an
  object with a 'lon' and 'lat' properties.
  options - {Object} Optional parameters
  
  Acceptable options:
  inclusive - {Boolean} Whether or not to include the border.
  Default is true.
  worldBounds - {<OpenLayers.Bounds>} If a worldBounds is provided, the
  ll will be considered as contained if it exceeds the world bounds,
  but can be wrapped around the dateline so it is contained by this
  bounds.
  
  Returns:
  {Boolean} The passed-in lonlat is within this bounds.