def is_sorted(seq):
    """
    Return True if elements in the given sequence are in ascending order.
    >>> is_sorted([1, 2, 3])
    True
    >>> is_sorted([1, 20, 300])
    True
    >>> is_sorted([3, 2, 1])
    False
    >>> is_sorted([10, 2, 300])
    False
    """
    return all(seq[i-1] < seq[i] for i in range(1, len(seq)))