public  boolean isSkewedStoredAsDir() {
    return (this.getSkewedColNames() != null)
        && (this.getSkewedColNames().size() > 0)
        && (this.getSkewedColValues() != null)
        && (this.getSkewedColValues().size() > 0)
        && (this.isStoredAsSubDirectories());
  }
check if list bucketing is enabled.

@return
ql/src/java/org/apache/hadoop/hive/ql/plan/ListBucketingCtx.java