Is any entry of a Boolean vector true?
function anyTrue input Boolean vec[:]; output Boolean anytrue; end anyTrue;