Checks if a given string is a valid error code.
The error code to check.
True if the error code is valid, false otherwise.
Checks if a given string is a valid error code.