Oh yeah, that does seem generally useful. I'll put it in ASTUtil.