public static bool DoesSublayerExist( IntPtr sessionHandle, Guid id) { uint result = 0; AssertSuccess(() => PInvoke.DoesSublayerExist( sessionHandle, ref id, ref result)); return(result == 0); }