def METHOD_NAME(self, item_class):
    # type: (Type[Any]) -> Optional[Union[Encoder, Type]]
    for ic, encoder in self._encoders.items():
        if issubclass(item_class, ic):
            return encoder
    return None