def override(self, pack_name, resource_type, content):

        """
        Loads override content for pack, and updates content

        :param pack_name: Name of pack
        :type pack_name: ``str``
        :param resource_type: Type of resource loading
        :type type: ``str``
        :param content: Content as loaded from meta information
        :type content: ``object``
        :return: Whether data was overridden
        :rtype: ``bool``
        """
        orig_content = content.copy()
        if resource_type not in self.ALLOWED_OVERRIDE_TYPES.keys():
            raise ValueError(
                f"Invalid override type of {resource_type} attempted for pack {pack_name}"
            )

        override_dir = os.path.join(cfg.CONF.system.base_path, "overrides")
        # Apply global overrides
        global_file = os.path.join(override_dir, "_global.yaml")
        self._apply_override_file(global_file, pack_name, resource_type, content, True)

        # Apply pack overrides
        override_file = os.path.join(override_dir, f"{pack_name}.yaml")
        self._apply_override_file(
            override_file, pack_name, resource_type, content, False
        )
        if content == orig_content:
            overridden = False
        else:
            # Need to account for defaults that might not have been set
            for key in self.ALLOWED_OVERRIDE_NAMES:
                if key not in orig_content.keys() and key in content.keys():
                    orig_content[key] = self.DEFAULT_OVERRIDE_VALUES[key]
            if content == orig_content:
                overridden = False
            else:
                overridden = True
        return overridden

        Loads override content for pack, and updates content

        :param pack_name: Name of pack
        :type pack_name: ``str``
        :param resource_type: Type of resource loading
        :type type: ``str``
        :param content: Content as loaded from meta information
        :type content: ``object``
        :return: Whether data was overridden
        :rtype: ``bool``
        
st2common/st2common/content/loader.py