isPartialMatch method
Returns true if this marker is a subset of the other marker. returns true for readOnly == readWrite and writeOnly == readWrite
Implementation
bool isPartialMatch(ReadWriteMarker other) {
return isRead == other.isRead || isWrite == other.isWrite;
}