feat(helpers): add function arrayHasItem(array, item) to check if an array contains the given item.