Checks if the error is a zod error.
The error to check.
True if the error is a zod error, false otherwise.
Checks if the error is a zod error.