True iif at least one input condition is equivalent to True.

    :param confs: confs to check.
    :type confs: list or dict or str
    :param kwargs: additional task kwargs.

    :return: True if at least one condition is checked (compared to True, but
            not an strict equivalence to True). False otherwise.
    :rtype: bool

def _any(confs=None, **kwargs):
    """
    True iif at least one input condition is equivalent to True.

    :param confs: confs to check.
    :type confs: list or dict or str
    :param kwargs: additional task kwargs.

    :return: True if at least one condition is checked (compared to True, but
            not an strict equivalence to True). False otherwise.
    :rtype: bool
    """

    result = False

    if confs is not None:
        # ensure confs is a list
        if isinstance(confs, string_types) or isinstance(confs, dict):
            confs = [confs]
        for conf in confs:
            result = run(conf, **kwargs)
            if result:  # leave function as soon as a result if True
                break

    return result