def is_ssl_error(error=None):
    """Checks if the given error (or the current one) is an SSL error."""
    if error is None:
        error = sys.exc_info()[1]
    from OpenSSL import SSL
    return isinstance(error, SSL.Error)
dataset/ETHPy150Open Eforcers/gae-flask-todo/lib/werkzeug/serving.py/is_ssl_error/original