(Perl:)
A method of class UNIVERSAL (which see for notes on availability and use; basically it works for any object). $x->isa('XYZ') checks if $x is-a XYZ (taking inheritance into account, of course). isa returns a boolean value.