Add array_has function
Merge pull request #5765 from lucasmichot/4.2-support-helpers-array-has

[4.2] Added Arr::has
Merge branch '4.2'