Well,

    >>> array("all") == "all"
    array(True, dtype=bool)

but since

    >>> bool(array("all") == "all")
    True
    >>> bool(array(["any"]) == "all")
    False

I don't think that'll pose any problems. Comparisons between `str` and non-stringlike `ndarray` seem to always return just `False`.