langchain/document_loaders/pdf.py/BasePDFLoader/_is_valid_url
class BasePDFLoader:    def _is_valid_url(url: str) -> bool:
        """Check if the url is valid."""
        parsed = urlparse(url)
        return bool(parsed.netloc) and bool(parsed.scheme)