public static boolean isDeleteColumnOrFamily(ExtendedCell cell) {
    int t = cell.getTypeByte();
    return t == KeyValue.Type.DeleteColumn.getCode() || t == KeyValue.Type.DeleteFamily.getCode();
  }
Returns True if this cell is a delete family or column type.
hbase-common/src/main/java/org/apache/hadoop/hbase/PrivateCellUtil.java