add isEditable method