Yes, it is a trivial question. I was just wondering. Does the framework have a helper function that does something like this:
switch (value)
{
case "true":
return true;
case "false":
return false;
default:
return Boolean(value);
}