pub fn contains(&self, x: &NodeId) -> bool {
        self.members.contains(x)
            || if let Some(members) = &self.members_after_consensus {
                members.contains(x)
            } else {
                false
            }
    }
/// Check if the given NodeId exists in this membership config.
///
/// When in joint consensus, this will check both config groups.
Check if the given NodeId exists in this membership config.
When in joint consensus, this will check both config groups.
Check if the given NodeId exists in this membership config . When in joint consensus this will check both config groups .
pub fn contains(&self, x: &NodeId) -> bool {
        self.members.contains(x)
            || if let Some(members) = &self.members_after_consensus {
                members.contains(x)
            } else {
                false
            }
    }
pub fn contains ( & self , x : & NodeId ) -> bool { self . members . contains ( x ) || if let Some ( members ) = & self . members_after_consensus { members . contains ( x ) } else { false } }
Check if the given NodeId exists in this membership config.
Check if the given NodeId exists in this membership config .
&self
x
&NodeId
&self
x
&NodeId