@Override
    public void add(TemplatePersistenceData data) {
        lock().execWriting(o -> super.add(data));
    }
Returns <code>true</code> if a context type id specifies a valid context type
or if no context type registry is present.

@param contextTypeId the context type id to look for
@return <code>true</code> if the context type specified by the id
is present in the context type registry, or if no registry is
specified
plugins/org.jkiss.dbeaver.ui.editors.sql/src/org/jkiss/dbeaver/ui/editors/sql/templates/SQLTemplateStore.java