public bool NewSnapshot(Snapshot snapshot)
 {
     return(snapshot != null && (snapshot.Any() || snapshot.Metadata.Any()));
 }