inositol-polyphosphate 5-phosphatase activity [GO_0004445] - Virtual Fly Brain