public boolean __getReadOnly() {
    Object o = attrs.get(READONLY);
    return o != null ? Boolean.parseBoolean(o.toString()) : TableDescriptorBuilder.DEFAULT_READONLY;
  }
Returns true if READONLY attribute exists and is truel
hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/model/TableSchemaModel.java