
    Write a function to determine if a patient's sequential health measurements show a consistent trend (either strictly increasing or strictly decreasing), which is crucial for monitoring disease progression or treatment effectiveness. The function should analyze the series of readings and return true if the measurements follow a monotonic pattern, indicating a clear directional trend in the patient's condition.
    

    
def is_Monotonic(A):
    """
    Write a function to determine if a patient's sequential health measurements show a consistent trend (either strictly increasing or strictly decreasing), which is crucial for monitoring disease progression or treatment effectiveness. The function should analyze the series of readings and return true if the measurements follow a monotonic pattern, indicating a clear directional trend in the patient's condition.
    

    """
def is_Monotonic(A):
    """
    Write a function to determine if a patient's sequential health measurements show a consistent trend (either strictly increasing or strictly decreasing), which is crucial for monitoring disease progression or treatment effectiveness. The function should analyze the series of readings and return true if the measurements follow a monotonic pattern, indicating a clear directional trend in the patient's 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)))