def METHOD_NAME(self):
    """
    Retrieves the direction of fan
    Returns:
        A string, either FAN_DIRECTION_INTAKE or FAN_DIRECTION_EXHAUST
        depending on fan direction
    """
    direction = self.FAN_DIRECTION_NOT_APPLICABLE
    if self.is_psu_fan:
        psu_fru = PsuFru(self.fans_psu_index)
        if psu_fru.mfr_id == "not available":
            return direction
        for dev in self.plugin_data['PSU']['psu_support_list']:
            if dev['Mfr_id'] == psu_fru.mfr_id and dev['Model'] == psu_fru.model:
                dir = dev['Dir']
                break
    else:
        attr = "fan{}_direction".format(self.fantray_index)
        device = "FAN-CTRL"
        output = self.pddf_obj.get_attr_name_output(device, attr)
        if not output:
            return direction
        mode = output['mode']
        val = output['status'].strip()
        vmap = self.plugin_data['FAN']['direction'][mode]['valmap']
        if val in vmap:
            dir = vmap[val]
    return dir