Gets a boolean flag from the query string.
The flag as a boolean.
A query string flag is a parameter whose value is either "1" or "0", e.g. http://www.mysite.net/?myflag=1. The default value is returned if the flag is not present on the query string.
bool flag = MainUtil.GetRequestFlag("myflag", false);
MainUtil Class | Sitecore Namespace