Is chat gpt telling truth about this and will this work?

execute as @e[tag=leash_source] run data modify entity @s Leashed set value 1b execute as @e[tag=leash_source] at @s run data modify entity @s Leash set from entity @e[tag=leash_target,limit=1,sort=nearest] UUID
Continue to help post