{
      // Make sure each object conforms to the type of the feature.
      //
      for (Object replacement : collection)
      {
        if (!feature.getEType().isInstance(replacement))
        {
          return false;
        }
      }

      return true;
    }