hasIdentity method

bool hasIdentity (Identity target)

Implementation

bool hasIdentity(Identity target) {
  return identities.indexWhere((id) => id.ontid == target.ontid) != -1;
}