added __contains__ method to wsgi response