public static function allowVoid($gateway)
    {
        $setting = self::getConfigSetting($gateway, 'can_void');
        // if the setting isn't present, default to true, otherwise check against falsy values
        return ($setting === null || !($setting == false || $setting === 'off' || $setting === 'false'));
    }