public boolean hasProvider(Class<?> dtoInterface){
  return dtoInterface2Providers.get(dtoInterface) != null;
}

public boolean hasProvider ( Class < ? > dtoInterface ) { return dtoInterface2Providers . get ( dtoInterface ) != null ; }
test weather or not this dtofactory has any dtoprovider which can provide implementation of dto interface .
