Update is_empty()

x is character, y is number