Check whether a value is a writable stream