Talked with Levi, we can just do url.indexOf('?') >= 0.  A question mark in any case is designated as a query string parameter so if there is a question mark indicated in the URL then we can assume that any additional query string variables need to be prefixed by an ampersand.