Compares two isolation layer states for equality.
First layer state.
Second layer state.
true when off, frozen, and locked flags match.
true
Compares two isolation layer states for equality.