Generate utility function baseIsMeta in plugins.