src/preferences/PreferencesBase.js
function (data, id, context) {
            if (!data || !context.language) {
                return;
            }

            if (data[context.language] && (data[context.language][id] !== undefined)) {
                return data[context.language][id];
            }
            return;
        }
function (data, id, context) {
            if (!data || !context.language) {
                return;
            }

            if (data[context.language] && (data[context.language][id] !== undefined)) {
                return data[context.language][id];
            }
            return;
        }
function ( data , id , context ) { if ( ! data || ! context . language ) { return ; } if ( data [ context . language ] && ( data [ context . language ] [ id ] !== undefined ) ) { return data [ context . language ] [ id ] ; } return ; }
Retrieve the current value based on the specified context. If the context
does contain language field, undefined is returned.

@param {Object} data the preference data from the Scope
@param {string} id preference ID to look up
@param {{language: string}} context Context to operate with
@return {*|undefined} property value
Retrieve the current value based on the specified context . If the context does contain language field undefined is returned .