containsAll
Check that an array contains all specified values. Returns true only if all are present.
Examples
Ensure both root and ec2-user exist:
users.map(name).containsAll(["root","ec2-user"])
containsAllCheck that an array contains all specified values. Returns true only if all are present.
Ensure both root and ec2-user exist:
users.map(name).containsAll(["root","ec2-user"])