src/Normalizer/ExplicitNormalizer.php
public function supportsDenormalization($data, $type, $format = null)
    {
        return in_array(AbstractExplicitMessage::class, class_parents($type, true), true);
    }
public function supportsDenormalization($data, $type, $format = null)
    {
        return in_array(AbstractExplicitMessage::class, class_parents($type, true), true);
    }
Checks whether the given class is supported for denormalization by this normalizer.

@param mixed  $data   Data to denormalize from
@param string $type   The class to which the data should be denormalized
@param string $format The format being deserialized from

@return bool