Check whether the request is for JSON-LD.
string $format: The short name of the format returned by ContentNegotiation.
bool Returns TRUE if the encoder can handle the request.
Overrides JsonEncoder::supportsEncoding
public function supportsEncoding($format) {
return in_array($format, static::$format);
}