endopolyphosphatase activity [GO_0000298] - Virtual Fly Brain