To test if timeout exception is wrapped by another exception

To test if exception have inner exception with timeouts i created a new
method IsOurTransient to not make extra call on base method, because
base method (from eneterprise library) have also check of innerexception
by recursion.
In sime our cases we have such exception:
NHibernate.Exceptions.GenericADOException
System.Data.SqlClient.SqlException