freeze method

bool freeze()

Implementation

bool freeze() {
  if (_frozen) return false;
  _frozen = true;
  return true;
}