Determine if the extension type matches the target.
This is the extension type.
The type to be inspected.
Optional
match exists.
Determine if the extension type matches the target.