How to use Element Exists in ui path
you can follow this link for your reference.
There are multiple scenarios where you can use Element Exist but the main is when you want to do something if the Element Present there in this case you can use Element Exist.
Eg. when you want to click on something But scenario is particular image should be there in that case you can use element exist and indicate that Image and it gives Boolean output so if Image is present it will give the true value and you can click on your required element.
Thanks & Regards