public boolean hasAny(){
  return partitions != null && !partitions.isEmpty();
}

public boolean hasAny ( ) { return partitions != null && ! partitions . isEmpty ( ) ; }
indicates whether this instance has any partitions .
