Allows, for the passed client username and its IP address, to know if
statement is a prepared statement an to analyze the string representation of
the SQL statement that is received on the server.
If the analysis defined by the method returns false, the SQL statement won't
be executed.

Parameters:

username - the client username to check the rule for.

database - the database name as defined in the JDBC URL field

connection - The current SQL/JDBC Connection

ipAddress - the IP address of the client user

sql - the SQL statement

isPreparedStatement - Says if the statement is a prepared statement

parameterValues - the parameter values of a prepared statement in
the natural order, empty list for a (non prepared)
statement

Returns:

true if the analyzed statement or prepared statement is
validated and authorized to run, else false.