You would think there would be a way using DirectCast, TryCast, CType etc but all of them seem to choke on it e.g.:
CType(\"Yes\", Boolean)
public static bool IsBoolean(string strValue) { return !string.IsNullOrEmpty(strValue) && ("1/YES/TRUE".IndexOf(strValue, StringComparison.CurrentCultureIgnoreCase) >= 0); }