def METHOD_NAME(self, context):
    asset_and_parents = self.get_parents(context)
    self.log.debug("__ asset_and_parents: {}".format(asset_and_parents))
    project_name = context.data["projectName"]
    db_assets = list(get_assets(
        project_name, fields=["name", "data.parents"]
    ))
    self.log.debug("__ db_assets: {}".format(db_assets))
    asset_db_docs = {
        str(e["name"]): [str(p) for p in e["data"]["parents"]]
        for e in db_assets}
    self.log.debug("__ project_entities: {}".format(
        pformat(asset_db_docs)))
    assets_missing_name = {}
    assets_wrong_parent = {}
    for asset in asset_and_parents.keys():
        if asset not in asset_db_docs.keys():
            # add to some nonexistent list for next layer of check
            assets_missing_name[asset] = asset_and_parents[asset]
            continue
        if asset_and_parents[asset] != asset_db_docs[asset]:
            # add to some nonexistent list for next layer of check
            assets_wrong_parent[asset] = {
                "required": asset_and_parents[asset],
                "already_in_db": asset_db_docs[asset]
            }
            continue
        self.log.debug("correct asset: {}".format(asset))
    if assets_missing_name:
        wrong_names = {}
        self.log.debug(
            ">> assets_missing_name: {}".format(assets_missing_name))
        # This will create set asset names
        asset_names = {
            a.lower().replace("_", "") for a in asset_db_docs
        }
        for asset in assets_missing_name:
            _asset = asset.lower().replace("_", "")
            if _asset in asset_names:
                wrong_names[asset].update(
                    {
                        "required_name": asset,
                        "used_variants_in_db": [
                            a for a in asset_db_docs
                            if a.lower().replace("_", "") == _asset
                        ]
                    }
                )
        if wrong_names:
            self.log.debug(
                ">> wrong_names: {}".format(wrong_names))
            raise Exception(
                "Some already existing asset name variants `{}`".format(
                    wrong_names))
    if assets_wrong_parent:
        self.log.debug(
            ">> assets_wrong_parent: {}".format(assets_wrong_parent))
        raise Exception(
            "Wrong parents on assets `{}`".format(assets_wrong_parent))