public boolean containsDTOFor ( JavaClass < ? > entity , boolean root ) { if ( dtos . get ( entity ) == null ) { return false ; } return ( root ? ( dtos . get ( entity ) . rootDTO != null ) : ( dtos . get ( entity ) . nestedDTO != null ) ) ; }
Indicates whether a DTO is found in the underlying collection or not .