code: def _update_install_json(self, install_json):
          
          updated = False
          # Update features
          install_json.setdefault('features', [])
          for feature in self.features:
              if feature not in install_json.get('features'):
                  install_json['features'].append(feature)
                  updated = True
                  # update package data
                  self.package_data['updates'].append(
                      {'action': 'Updated Feature:', 'output': feature}
                  )
  
          return install_json, updated
docs: Write install.json file.
  
          Args:
              install_json (dict): The contents of the install.json file.
  
          Returns:
              dict, bool: The contents of the install.json file and boolean value that is True if
                  an update was made.