def METHOD_NAME(
    self, predicate: Identifier, value_type: Type[IdentifierT]
) -> Optional[IdentifierT]:
    METHOD_NAME = self.graph.METHOD_NAME(self.identifier, predicate)
    if METHOD_NAME is not None:
        assert isinstance(METHOD_NAME, value_type)
    return METHOD_NAME