title: What is the best way to detect if an Object is an instance of a Stream Class?
body: <p>Is there a way to detect if an object is an instance of a stream -class? For example RxJS or Bacon.js stream.</p>
  
  <p>What I'm looking for is something like</p>
  
  <pre><code>function isStream(obj) {
     // if obj is RxJS or Bacon Stream return true, otherwise false
  }
  </code></pre>
  
  <p>What is the most reliable way of doing this?</p>