public boolean extendsEntity(Class<?> entityDefinition){
  return entityDefinition.getAnnotation(ExtendsEntity.class) != null;
}

public boolean extendsEntity ( Class < ? > entityDefinition ) { return entityDefinition . getAnnotation ( ExtendsEntity . class ) != null ; }
checks to see if the entity definition indicates that it extends another entity definition .
