private boolean isColorful(URL img) {
		try {
			BufferedImage image = ImageIO.read(img);
			float saturation = 0;
			int threshold = 100;
			if(image.getType() == BufferedImage.TYPE_BYTE_GRAY || image.getType() == BufferedImage.TYPE_USHORT_GRAY)
				return false;

			for (int x = 0; x < image.getWidth(); x++)
			{
				for (int y = 0; y < image.getHeight(); y++)
				{
					Color col = new Color(image.getRGB(x, y));

					float[] hsb = Color.RGBtoHSB(col.getRed(), col.getGreen(), col.getBlue(), null);

					saturation += hsb[1];

					if (saturation > threshold) {
						return true;
					}

				}
			}
		} catch (IOException e) {
			e.printStackTrace();
		}
		return false;
	}