def text_assert_any(self, anchors: Sequence[str | bytes]) -> None:
        """If no `anchors` were found then raise `DataNotFound` exception."""
        if not any(self.text_search(x) for x in anchors):
            raise DataNotFound(
                "Substrings not found: %s" % ", ".join(map(str, anchors))
            )
If no `anchors` were found then raise `DataNotFound` exception.
grab/document.py