Performs sanity checks internally to make sure that a) Only frames are used as parents. In future other nodes may be used for parenting, that will require more sophisticated poll functions. b) Avoid infinite recursion. If the supposed parent is already attached to a frame node the parent assignment will be ignored.