def METHOD_NAME(self, index):
    """
    Retrieves the presence status of power supply unit (PSU) defined
            by index <index>
    :param index: An integer, index of the PSU of which to query status
    :return: Boolean, True if PSU is plugged, False if not
    """
    psu_status = '0'
    ret_status = 1
    ipmi_cmd = ''
    dockerenv = self.isDockerEnv()
    if dockerenv == True:
        if index == 1:
            ipmi_cmd = IPMI_PSU1_DATA_DOCKER
        elif index == 2:
            ipmi_cmd = IPMI_PSU2_DATA_DOCKER
    else:
        if index == 1:
            ipmi_cmd = IPMI_PSU1_DATA
        elif index == 2:
            ipmi_cmd = IPMI_PSU2_DATA
    if ipmi_cmd != '':
        ret_status, ipmi_sdr_list = getstatusoutput_noshell_pipe(ipmi_cmd, awk_cmd)
    if ret_status:
        logging.error('Failed to execute ipmitool')
        sys.exit(0)
    psu_status = ipmi_sdr_list
    return (int(psu_status, 16) & 1)