namespace Engine.Core; public static class IdentifiableExtensions { public static bool IsIdentical(this IIdentifiable? left, IIdentifiable? right) { if (left == null || right == null) return false; return left?.Id?.CompareTo(right?.Id) == 0; } }