Prefer Class::isInstance method reference over equivalent lambda expression

See: https://error-prone.picnic.tech/bugpatterns/IsInstanceLambdaUsage