public static isSecurityIdentity(value: any): value is SecurityIdentity {
    return value && typeof (<SecurityIdentity>value).getSecurityId === 'function';
  }