Finds the type in the TList which T can be typecast to return void if not type is found
See Implementation
Finds the type in the TList which T can be typecast to return void if not type is found