Simplify isBuiltin() implementation