fn check_anchor(who: &T::AccountId, anchor: &TarsAnchor) -> bool {
        if let Some(identity) = Self::identities(who) {
            return identity.anchor == *anchor;
        }
        false
    }
/// check whether the account id and the anchor is valid or not
check whether the account id and the anchor is valid or not
check whether the account id and the anchor is valid or not
fn check_anchor(who: &T::AccountId, anchor: &TarsAnchor) -> bool {
        if let Some(identity) = Self::identities(who) {
            return identity.anchor == *anchor;
        }
        false
    }
fn check_anchor ( who : & T :: AccountId , anchor : & TarsAnchor ) -> bool { if let Some ( identity ) = Self :: identities ( who ) { return identity . anchor == * anchor ; } false }
check whether the account id and the anchor is valid or not
check whether the account id and the anchor is valid or not
who
&T::AccountId
anchor
&TarsAnchor