public static boolean hasFacet ( GridDialect gridDialect , Class < ? extends GridDialect > facetType ) { if ( gridDialect instanceof ForwardingGridDialect ) { return hasFacet ( ( ( ForwardingGridDialect < ? > ) gridDialect ) . getGridDialect ( ) , facetType ) ; } else { return facetType . isAssignableFrom ( gridDialect . getClass ( ) ) ; } }
Whether the given grid dialect implements the specified facet or not .