def check_power_redundancy():
    """
    Check if the power supplies are redundant
    The check is skipped if --noPowerRedundancy is set
    """
    # skip the check if --noPowerRedundancy is set
    if power_redundancy_flag:
        # walk the data        
        ps_redundant_data = walk_data(sess, oid_ps_redundant, helper)[0]
        
        for x, state in enumerate(ps_redundant_data, 1):
            # human readable status
            hr_status = ps_redundant_state[int(state)]
            if  hr_status != "redundant":
                # if the power supply is not redundant, we will set a critical status and add it to the summary
                helper.add_summary('Power supply %s: %s' % (x, hr_status))
                helper.status(critical)
            # we always want to see the redundancy status in the long output
            helper.add_long_output('Power supply %s: %s' % (x, hr_status))
        helper.add_long_output('')