code: boolean hasIncomingEdgesWithLabel(AtlasVertex vertex, String label) throws AtlasBaseException {
          boolean foundEdges = false;
          Iterator<AtlasEdge> inEdges = vertex.getEdges(AtlasEdgeDirection.IN).iterator();
  
          while (inEdges.hasNext()) {
              AtlasEdge edge = inEdges.next();
  
              if (label.equals(edge.getLabel())) {
                  foundEdges = true;
                  break;
              }
          }
          return foundEdges;
      }
docs: Look to see if there are any IN edges with the supplied label
  @param vertex
  @param label
  @return
  @throws AtlasBaseException