VE-1177 Check if item exists in array