public boolean validateLotto(Player player, String name, String amount)
	{
		try
		{
			double a = Double.parseDouble(amount);
			if(a < 0)
			{
				//Cannot have negative lottery
				return false;
			}
			List<String> lottos = plugin.getConfig().getStringList("list");
			ListIterator<String> iterator = lottos.listIterator();
			while (iterator.hasNext())
			{
				if (iterator.next().equals(name))
				{
					return true;
				}
			}
			player.sendMessage(ChatColor.RED
					+ " Lotto does not exist.");
		}
		catch(NumberFormatException e)
		{
			player.sendMessage(ChatColor.RED + KarmicLotto.prefix + " Not a valid amount.");
		}
		return false;
	}