[TASK] add "in_array()" to moc_viewhelpers

Change-Id: I12eb3069efab137135a0334ce6d726e733cb1fd3
Refs: #16058