Simplifies `lib/isBase.js`