public static boolean isCustomInputType(VertexType vertex) {
      if ((vertex == null) || (vertex == AUTO_INITIALIZED_EDGES)) {
        return false;
      } else {
        return true;
      }
    }
TezWork. This class encapsulates all the work objects that can be executed
in a single tez job. Currently it's basically a tree with MapWork at the
leaves and and ReduceWork in all other nodes.
ql/src/java/org/apache/hadoop/hive/ql/plan/TezWork.java