Add generic version of IsType method.
Readme field check usage examples.