Get the interface of an actor, in the form of an instance of a Service. @param actor The actor to get the interface of.
static Service? interfaceOf(Actor actor) { return actor.metadata.service; }