
    Write a function to determine if a sequence of content severity scores from social media posts shows a consistently increasing or decreasing trend over time. The function should analyze an array of numerical severity scores (where higher scores indicate more harmful content) and determine if the sequence is either entirely non-increasing or entirely non-decreasing, helping moderators identify clear patterns in content violations.
    

    
def is_Monotonic(A):
    """
    Write a function to determine if a sequence of content severity scores from social media posts shows a consistently increasing or decreasing trend over time. The function should analyze an array of numerical severity scores (where higher scores indicate more harmful content) and determine if the sequence is either entirely non-increasing or entirely non-decreasing, helping moderators identify clear patterns in content violations.
    

    """
def is_Monotonic(A):
    """
    Write a function to determine if a sequence of content severity scores from social media posts shows a consistently increasing or decreasing trend over time. The function should analyze an array of numerical severity scores (where higher scores indicate more harmful content) and determine if the sequence is either entirely non-increasing or entirely non-decreasing, helping moderators identify clear patterns in content violations.
    

    """
    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)))