Checks whether the serializer can encode to given format
string $format format name:
Boolean
Overrides EncoderInterface::supportsEncoding
public function supportsEncoding($format) { return 'xml' === $format; }