Yes, the instanceof is faster than the isBuffer. We can use is there also without problems.