Check through array list

How would I check through an array list of booleans, and check if every single array element is set to true?

If you are using an array:

bool[] arrayList;
bool everyTrue=true;
for (int i=0;i<arrayList.Length;i++){
if(arrayList*==false){//only if one element or more are false the bool gets changed*

everyTrue=false;
}
}
if(everyTrue){
print(“every Item is true”);
}
If you are using a List (there is probably a better way to do it but I think it works):
List list=new List();
bool[] arrayList = list.ToArray();
bool everyTrue=true;
for (int i=0;i<arrayList.Length;i++){
if(arrayList*==false){//only if one element or more are false the bool gets changed*
everyTrue=false;
}
}
if(everyTrue){
print(“every Item is true”);
}