
    Write a function to determine if a sequence of professional skill ratings in a networking group follows a consistently increasing or decreasing pattern. The function should analyze an array of numerical expertise levels and determine if the progression is either entirely non-increasing or non-decreasing, which is essential for matching mentors with mentees in a professional network.
    

    
def is_Monotonic(A):
    """
    Write a function to determine if a sequence of professional skill ratings in a networking group follows a consistently increasing or decreasing pattern. The function should analyze an array of numerical expertise levels and determine if the progression is either entirely non-increasing or non-decreasing, which is essential for matching mentors with mentees in a professional network.
    

    """
def is_Monotonic(A):
    """
    Write a function to determine if a sequence of professional skill ratings in a networking group follows a consistently increasing or decreasing pattern. The function should analyze an array of numerical expertise levels and determine if the progression is either entirely non-increasing or non-decreasing, which is essential for matching mentors with mentees in a professional network.
    

    """
    return all((A[i] <= A[i + 1] for i in range(len(A) - 1))) or all((A[i] >= A[i + 1] for i in range(len(A) - 1)))