<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _all(confs=None, **kwargs):
 """ True iif all input confs are True. :param confs: confs to check. :type confs: list or dict or str :param kwargs: additional task kwargs. :return: True if all conditions are checked. 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]
        # if at least one conf exists, result is True by default
        result = True
        for conf in confs:
            result = run(conf, **kwargs)
            # stop when a result is False
            if not result:
                break

    return result