code: function(RED,myObj,props,defaultAnswer = []) {
          if ( (typeof props) === 'string' ) {
              props = [props]
          }
          if ( ! Array.isArray(props) ) {
              return undefined
          }
          let ans
          for (var i = 0; i < props.length; i++) {
              try { // errors if an intermediate property doesn't exist
                  ans = RED.util.getMessageProperty(myObj, props[i])
                  if ( typeof ans !== 'undefined' ) {
                      break
                  }
              } catch(e) {
                  // do nothing
              }
          }
          return ans || defaultAnswer
      }
docs: ---- End of processClose function ---- // Get property values from an Object.
  Can list multiple properties, the first found (or the default return) will be returned
  Makes use of RED.util.getMessageProperty
  @param {Object} RED - RED
  @param {Object} myObj - the parent object to search for the props
  @param {string|array} props - one or a list of property names to retrieve.
  Can be nested, e.g. 'prop1.prop1a'
  Stops searching when the first property is found
  @param {any} defaultAnswer - if the prop can't be found, this is returned
  JK @since 2017-08-17 Added
  TODO Change instances of "in" and "hasOwnProperty" to use this function