bool hasExplicitlySetContentType

Whether or nor this instance has explicitly has its contentType property.

This value indicates whether or not contentType has been set, or is still using its default value.

Source

bool get hasExplicitlySetContentType => _contentType != null;