Revert "Adding a "is_val" primitive to IStream."

This reverts commit 062d07eb5446c1032fda232b9a09e20e5410dd92.