function mapStateToProps(state, ownProps) {
	return {
		loading: !get(ownProps, 'hasCollections', []).every(collectionName =>
			state.cmf.collections.has(collectionName),
		),
	};
}
/**
 * calculate the loading attribute with the given props
 * @param {object} state the redux state
 * @param {object} ownProps the component props
 */
calculate the loading attribute with the given props
@param {object} state the redux state
@param {object} ownProps the component props
calculate the loading attribute with the given props @param { object } state the redux state @param { object } ownProps the component props
function mapStateToProps(state, ownProps) {
	return {
		loading: !get(ownProps, 'hasCollections', []).every(collectionName =>
			state.cmf.collections.has(collectionName),
		),
	};
}
function mapStateToProps ( state , ownProps ) { return { loading : ! get ( ownProps , 'hasCollections' , [ ] ) . every ( collectionName => state . cmf . collections . has ( collectionName ) , ) , } ; }
calculate the loading attribute with the given props
 @param {object} state the redux state
 @param {object} ownProps the component props
calculate the loading attribute with the given props @param { object } state the redux state @param { object } ownProps the component props