Added is isDynamic to TypeTools.hx