def element_is_scrolled_to_right(element):
    """
    Is the element scrolled to the right?
    :param element:
    :return: Boolean
    """
    # calculation from
    # https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollHeight
    scroll_width = int(element.get_property('scrollWidth'))
    scroll_left = int(element.get_property('scrollLeft'))
    client_width = int(element.get_property('clientWidth'))

    return scroll_width - scroll_left == client_width