from typing import List


def check_if_sorted(lst: List) -> bool:
    """
    Function checks if provided list is sorted
    :param lst - list to be checked
    :return: bool - if the list is sorted
    >>> check_if_sorted([1, 2, 3, 4, 5])
    True
    >>> check_if_sorted([1, 2, 4, 3])
    False
    >>> check_if_sorted([1, 2, 2, 3])
    True
    """
    for i in range(1, len(lst)):
        if lst[i] < lst[i - 1]:
            return False
    return True