return true;
} /**
* Checks whether the normalization is needed for the given format.
*/
public function needsNormalization(string
$format, array
$context =
[]): bool
{ $encoder =
$this->
getEncoder($format,
$context);
if ($encoder instanceof TraceableEncoder
) { return $encoder->
needsNormalization();
} if (!
$encoder instanceof NormalizationAwareInterface
) { return true;
} if ($encoder instanceof self
) { return $encoder->
needsNormalization($format,
$context);
} return false;
}