WordPress File wp-includes/requests/iri.php

Requests_IRI::is_valid()

Check if the object represents a valid IRI. This needs to be done on each call as some things change depending on another part of the IRI.