def check_file_size_limit(picture_size, size_limit):
    """
    Returns true if the image has valid size limit.

    size_limit: in bytes
    """
    if picture_size > size_limit:
        return False
    else:
        return True