Source: canSaveToUserPreferences.js

/**
 * Can the current user save to user preferences?
 *
 * @param {User} user
 * @return {boolean}
 */
const canSaveToUserPreferences = ( user ) => {
	return !user.isAnon() && user.isNamed();
};

module.exports = canSaveToUserPreferences;