Check whether an array is associative for script arguments.