public boolean removeMembershipListener(MembershipListener listener) {
    return membershipListeners.remove(listener) != null;
  }
Remove listener from the list to receive notification when a provile is added or removed.

@return true if listener was in the list
geode-core/src/main/java/org/apache/geode/distributed/internal/DistributionAdvisor.java