def METHOD_NAME(self, fetch, ud, d):
    """
    Check the status of a URL
    """
    cmd = '%s ls s3://%s%s' % (ud.basecmd, ud.host, ud.path)
    bb.fetch2.check_network_access(d, cmd, ud.url)
    output = runfetchcmd(cmd, d)
    # "aws s3 ls s3://mybucket/foo" will exit with success even if the file
    # is not found, so check output of the command to confirm success.
    if not output:
        raise FetchError("The aws ls command for s3://%s%s gave empty output" % (ud.host, ud.path))
    return True