By using _bash-it-array-contains-element, we can safetly iterate over elements in the $completions array