Check if an identity exists in the store.
(&self, id: &IdentityId)
| 685 | |
| 686 | /// Check if an identity exists in the store. |
| 687 | pub fn exists(&self, id: &IdentityId) -> bool { |
| 688 | self.find_identity_dir(id).is_ok() |
| 689 | } |
| 690 | |
| 691 | /// Check if an identity with the given name exists. |
| 692 | pub fn exists_by_name(&self, name: &str) -> bool { |