class ThreadsafeModel implements Model {

    @Override
    public boolean containsAttribute(String attributeName) {
        return withReadLock(() -> model.containsAttribute(attributeName));
    }

      ThreadsafeModel(Model model);

}