Yes, everything’s working fine except the if(prop.IsDisposed[] = true): line.
if(prop.IsDisposed[] = true):