Add case "editable" in hasstate()