declare Buffer.isBuffer argument to not be optional