code: public static boolean isSupported() {
          return Navigator.webkitGetUserMedia != null
                  || Navigator.getUserMedia != null
                  || Navigator.mozGetUserMedia != null
                  || Navigator.msGetUserMedia != null;
      }
docs: Tests if the browser supports the Streams API. This should be called before creating any
  MaterialCameraCapture widgets to avoid errors on the browser.
  
  @return <code>true</code> if the browser supports this widget, <code>false</code> otherwise