def element_to_be_selected(element):
    """ An expectation for checking the selection is selected.
    element is WebElement object
    """
    def _predicate(_):
        return element.is_selected()

    return _predicate