(text: str)
return any("\udc80" <= c <= "\udcff" for c in text)
Does `text` contain any surrogate escape characters.
Does `text` contain any surrogate escape characters.
Does text contain any surrogate escape characters .
def is_surrogate_escaped(text: str) -> bool:
    """Does `text` contain any surrogate escape characters."""
    return any("\udc80" <= c <= "\udcff" for c in text)
def is_surrogate_escaped ( text : str ) -> bool : return any ( "\udc80" <= c <= "\udcff" for c in text )