human
Write a function to check whether a specified list is sorted or not. Here is a solution in Python: ... What is a the Python program you requested?
assistant
#Here is the Python program you requested.
 def issort_list(list1):
    result = all(list1[i] <= list1[i+1] for i in range(len(list1)-1))
    return result