public static bool IsValid(Dynel dynel) { if (dynel == null) { return(false); } return(AllDynels.Any(x => x.Pointer == dynel.Pointer && x.Identity == dynel.Identity && dynel.VehiclePointer != IntPtr.Zero)); }
public static bool Exists(Identity identity) { return(AllDynels.Any(x => x.Identity == identity)); }