Check if parent is nil