true if array contains all elements provided in an array, else, false
assert([0, 1, 2].hasElement([2, 0, 1]) == true); assert([0, 1, 2].hasElement([2, 0, 1, 1, 0, 2]) == true); // it works different-ly from `LinkedList.hasElements` assert([0, 1, 2].hasElement([1, 2]) == true); assert([0, 1, 2].hasElement([2, 4]) == false);