code: public static boolean isAgent(final String agent)
  	{
  		if (agent != null)
  		{
  			final String lowerAgent = agent.toLowerCase();
  			for (final String noBot : NO_BOT_AGENTS)
  			{
  				if (lowerAgent.contains(noBot))
  				{
  					return false;
  				}
  			}
  			for (final String bot : BOT_AGENTS)
  			{
  				if (lowerAgent.contains(bot))
  				{
  					return true;
  				}
  			}
  		}
  		return false;
  	}
docs: Checks if the given String object is agent over the String array BOT_AGENTS.
  
  @param agent
  String to check.
  @return true, if is agent