B14618: Changed logic behind getting first value from array (check for...
B14618: Changed logic behind getting first value from array (check for typeahead array was already given but was placed after the checkForEncryptedValue function). No exception possible. Function name changed to generic. Added new function is_multi_array to check if array is multidimensional and return true or false.