This method is used with a variable of the PREPARED data type:
variable.IsNative()
It verifies whether the SQL statement has been prepared natively. You need to initialize the variable using prepare() first which defines whether the statement should be prepared natively or not.
This method accepts no parameters and returns TRUE (or 1), if the statement was prepared natively, bypassing the SQL translator:
CALL prep_v.IsNative() RETURNING native