code: public boolean isFullyInside(float x, float y) {
  		if (x < allowedLeft || x > allowedRight)
  			return false;
  		if (y < allowedTop || y > allowedBottom)
  			return false;
  
  		return true;
  	}
docs: Returns true if the features is entirely enclosed inside of the image.