@Override
  public boolean isRolePresent(Role role) {
    return localAddress.getRoles().contains(role);
  }
Returns true if at least one member is filling the specified role
geode-core/src/main/java/org/apache/geode/distributed/internal/LonerDistributionManager.java