Use Boolean.TryParse() to guard against malicious user data.