1 2 3
def check_element(list,element): check_element=all(v== element for v in list) return check_element