Checks if the value is a valid error code
The value to check
true if the value is a valid error code, false otherwise
Checks if the value is a valid error code