github.com/outbrain/consul@v1.4.5/ui-v2/app/helpers/token/is-anonymous.js (about) 1 import { helper } from '@ember/component/helper'; 2 import { get } from '@ember/object'; 3 4 const ANONYMOUS_ID = '00000000-0000-0000-0000-000000000002'; 5 export function isAnonymous(params, hash) { 6 return get(params[0], 'AccessorID') === ANONYMOUS_ID; 7 } 8 export default helper(isAnonymous);