presto-main/src/main/java/io/prestosql/connector/system/NodeSystemTable.java/NodeSystemTable/isCoordinator
class NodeSystemTable:    private boolean isCoordinator(InternalNode node)
    {
        return nodeManager.getCoordinators().contains(node);
    }