Extrapolated isValidStream method