lib/middleware/users/validate.js
function basicIdentityIsSet(){
        return _.has(user, 'identities') && _.has(user.identities, 'basic') && !_.isEmpty(user.identities.basic);
    }
function basicIdentityIsSet(){
        return _.has(user, 'identities') && _.has(user.identities, 'basic') && !_.isEmpty(user.identities.basic);
    }
function basicIdentityIsSet ( ) { return _ . has ( user , 'identities' ) && _ . has ( user . identities , 'basic' ) && ! _ . isEmpty ( user . identities . basic ) ; }
Function that returns is the user.identities.basic property has been set to a value.
Function that returns is the user . identities . basic property has been set to a value .