Implemented checking if the element can be edited.