Checks if the error is a native error.
the error to check
true if the error is a native error, false otherwise
Checks if the error is a native error.