/*
	FILE: fnc_canFold.sqf

	Name: tbd_m119_m119_fnc_canFold

	Author(s):
		ilbinek

	Description:
		Check if the M119 can be folded

	Parameters:
		_arty	- object	- M119 to be checked

	Returns:
		bool - true if the M119 can be folded, false otherwise
	
	Examples:
		> [_arty] call tbd_m119_m119_fnc_canFold;

	Public:
		No
*/

#include "..\script_component.hpp"

params ["_arty"];

if (_arty getVariable [QGVAR(folded), false]) exitWith {false};

if (count crew _arty > 0) exitWith {false};

true
