private boolean lockRIReadLock() {
    if (getImageState().isClient()) {
      getImageState().readLockRI();
      return true;
    }
    return false;
  }
Callers of this method should always follow the call with: if (lockRIReadLock()) { try { }
finally { unlockRIReadLock(); } }

@return true if lock obtained and unlock needs to be called
geode-core/src/main/java/org/apache/geode/internal/cache/LocalRegion.java