isModifiable method adjusted

This method was returning the opposite value it was suppose to.