Returns whether the target is or has the given prototype walking up the prototype chain.
Any target to test.
Prototype function / class constructor to find.
Rest
Target matches prototype.
Returns whether the target is or has the given prototype walking up the prototype chain.