what I mean is is there a function for CheckIfPartGotNewParent() or something

if D:HasNewParent = true then

is there something like that in lua?