1. You can't.
2. Not a condition you can easily extract, as there is no indication in the response (headers) as to the methodology of the page. Nothing outright tells you this.
3. Because nothing outright tells you the answer, you must _infer_ it from some difference in the page content between no-JS and with-JS viewing. Most easily seen in a browser inspector.
4. Alternatively, and this is worst-case, use something like PhantomJS (headless browser w/ JS) and just always extract the live DOM after that is processed, completely ignoring the distinction between JS and server-side rendered a…