Checks whether format is supported by this normalizer.
mixed $data: Data to normalize.
string $format: Format the normalization result will be encoded as.
bool Returns TRUE if the normalizer can handle the request.
Overrides NormalizerInterface::supportsNormalization
public function supportsNormalization($data, $format = NULL) {
return static::$format === $format;
}