
    Write a function to determine if a sequence of patient vital sign measurements is consistently increasing or decreasing over time, which could indicate a concerning health trend. The function should analyze the series of measurements and return whether the trend is monotonic (either consistently increasing or consistently decreasing) or not, helping healthcare providers identify potentially critical changes in patient condition.
    

    
def is_Monotonic(A):
    """
    Write a function to determine if a sequence of patient vital sign measurements is consistently increasing or decreasing over time, which could indicate a concerning health trend. The function should analyze the series of measurements and return whether the trend is monotonic (either consistently increasing or consistently decreasing) or not, helping healthcare providers identify potentially critical changes in patient condition.
    

    """
def is_Monotonic(A):
    """
    Write a function to determine if a sequence of patient vital sign measurements is consistently increasing or decreasing over time, which could indicate a concerning health trend. The function should analyze the series of measurements and return whether the trend is monotonic (either consistently increasing or consistently decreasing) or not, helping healthcare providers identify potentially critical changes in patient condition.
    

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