def METHOD_NAME(self, index):
    if index is None:
        return False
    status = 0
    device = "PSU" + "%d" % index
    output = pddf_obj.get_attr_name_output(device, "psu_present")
    if not output:
        return False
    mode = output['mode']
    status = output['status']
    vmap = plugin_data['PSU']['psu_present'][mode]['valmap']
    if status.rstrip('\n') in vmap:
        return vmap[status.rstrip('\n')]
    else:
        return False