Function Then_I_see_element_has_attribute