Determines whether a specific key is present in an exception.
exceptionKeyExists(exception, key)
returns boolean