check url.query is object or not