private static boolean isSqliImpl2( final String input, final String quote, final int flags )
throws Exception
{
final List valueList = new ArrayList();
String[] allTokenBuf = new String[ 1 ];

List processedValueList = tokenize( quote + input, valueList, allTokenBuf, flags, true );
//debugPrint( valueList );
String foldedToken = allTokenBuf[ 0 ];

if( valueList.size() == 0 )
	{
	return false;
	}

	//remove quote from head
String firstValue = ( String )valueList.get( 0 );
if( quote.length() > 0 && firstValue.charAt( 0 ) == quote.charAt( 0 ) )
	{
	valueList.set( 0, firstValue.substring( 1 ) );
	}

if( isSQLiImpl3( valueList, foldedToken, processedValueList.size() ) )
	{
	return true;
	}
else
	{
	return false;
	}
}