def METHOD_NAME(self) -> bool:
    """Toggle whether to look for a `netrc` file or environment variables.
    If `True`, and no `url` is given on this object, then
    `HTTP_PROXY` and `HTTPS_PROXY` will be used from the environment
    variables, or a `netrc` file may be read to determine credentials.
    If `False`, then this information is instead ignored.
    .. note::
        For more details of using `netrc`, visit:
        https://www.gnu.org/software/inetutils/manual/html_node/The-_002enetrc-file.html
    """