isUnsavedMake the transient/detached determination
test- The value to be tested
trueindicates the value corresponds to unsaved data (aka, transient state);
falseindicates the value does not corresponds to unsaved data (aka, detached state);
nullindicates that this strategy was not able to determine conclusively.