in packages/enterprise-search/src/utils.ts [47:49]
export function isBearerAuth (obj: any): obj is BearerAuth { return obj.token != null }