code: def _update_interface(self, other_interface):
          
          updated = False
          for name, value in other_interface.data.items():
              if isinstance(value, string_types) and getattr(self, name, None) != value:
                  self.data[name] = value
                  updated = True
              elif value is None and getattr(self, name, None):
                  self.data[name] = None
                  updated = True
          return updated
docs: Update the physical interface base settings with another interface.
          Only set updated if a value has changed. You must also call `update`
          on the interface if modifications are made. This is called from other
          interfaces (i.e. PhysicalInterface, ClusterPhysicalInterface, etc) to
          update the top layer.
          
          :param other_interface PhysicalInterface: an instance of an
              interface where values in this interface will overwrite values
              that are different.
          :raises UpdateElementFailed: Failed to update the element
          :rtype: bool