protected boolean stillInView(ProfileId id) {
    if (id instanceof InternalDistributedMember) {
      InternalDistributedMember memberId = (InternalDistributedMember) id;
      return getDistributionManager().getViewMembers().contains(memberId);
    }
    // if id is not a InternalDistributedMember then return false
    return false;
  }
Bypass the distribution manager and ask the membership manager directly if a given member is
still in the view.

<p>
We need this because we're asking membership questions from within listeners, and we don't know
whether the DM's membership listener fires before or after our own.

@param id member we are asking about
@return true if we are still in the JGroups view (must return false if id == null)
geode-core/src/main/java/org/apache/geode/distributed/internal/DistributionAdvisor.java