This example will show you how this function works. Just check if a link to a given site in the code of a target website really exists. To test this function you need to know a website address and the URL from one of link elements inside the target website.