public static boolean isLineageEvent(GobblinTrackingEvent event) {
    String eventType = event.getMetadata().get(EVENT_TYPE);
    return StringUtils.isNotEmpty(eventType) && eventType.equals(LINEAGE_EVENT_TYPE);
  }
public static boolean isLineageEvent ( GobblinTrackingEvent event ) { String eventType = event . getMetadata ( ) . get ( EVENT_TYPE ) ; return StringUtils . isNotEmpty ( eventType ) && eventType . equals ( LINEAGE_EVENT_TYPE ) ; }
Check if the given {@link GobblinTrackingEvent} is a lineage event