isMutable method

bool isMutable(
  1. String heapId
)

Checks if a heap object is mutable.

Implementation

bool isMutable(String heapId) {
  return getMutableObjects().contains(heapId);
}