If object is bool then return it otherwise default value
bool? asBoolOr([bool? defaultValue]) { return _getValueOr<bool>(defaultValue); }