Checks if a heap object is deeply immutable.
bool isDeepImmutable(String heapId) { return getDeepImmutableObjects().contains(heapId); }