function getNodeFeature(node, nodeFeatureId) {
  return node.features.find((f) => f.external_id === nodeFeatureId);
}
@description Returns a node feature from its external id.
@param {object} node - The node supporting the feature.
@param {string} nodeFeatureId - The feature id to find.
@returns {object} The node feature if found.
@example
getNodeFeature({
 external_id: 'zwavejs-ui:3',
 features: [{external_id: 'zwavejs-ui:3-113-0-23-7'}]
}, 'zwavejs-ui:3-11-0-23-7')