code: def is_sorted(array):
      """
      Helper function to check if the given array is sorted.
      :param array: Array to check if sorted
      :return: True if sorted in ascending order, else False
      """
      for i in range(len(array) - 1):
          if array[i] > array[i + 1]:
              return False
  
      return True
  
imports: from algorithms.sort import bitonic_sort, bogo_sort, bubble_sort, comb_sort, counting_sort, cycle_sort, exchange_sort, max_heap_sort, min_heap_sort, merge_sort, pancake_sort, pigeonhole_sort, quick_sort, selection_sort, bucket_sort, shell_sort, radix_sort, gnome_sort, cocktail_shaker_sort, top_sort, top_sort_recursive
  import unittest
label_desc: Use image node_id 1 for calling a global function with example usage: is_sorted(array) and returns: True, False