One of the big tasks Cyberbot will be doing is determining on it's own when a page is dead. This would be particularly useful for links that aren't tagged, but are dead.
We need a function in php that when given a page, it will return true or false for a given page.
For this initial version, it should only return false if the page returns a 4XX or 5XX HTTP error code or redirects to a URL with such an error code. (Assume that curl is available.) Also write at least 2 unit tests, one for a dead link and one for a live link. (I would suggest https://en.wikipedia.org/nothing and https://en.wikipedia.org/wiki/Main_Page.)
Must be written in PHP so it is compatible with https://github.com/cyberpower678/Cyberbot_II/blob/master/deadlink.php. Once the function is written, submit it as a pull request to the Cyberbot II code in Github.