public boolean isPartition() {
      return (part != null);
    }
Returns true in case this data container is a partition.

@return boolean TRUE if the container is a table partition.
ql/src/java/org/apache/hadoop/hive/ql/hooks/LineageInfo.java