code: function isSubquery(str, parenthesisLevel) {
  	return  parenthesisLevel - (str.replace(/\(/g,'').length - str.replace(/\)/g,'').length )
  }
docs: ----------------------------------------------------------------------------