Returns a Boolean corresponding to the JToken if possible.
public static bool? AsBoolean(this JToken? jToken)
This method returns null if the JToken is null or if it doesn’t contain a Boolean.