turned OutputStream into boolean