def METHOD_NAME(package: Package, **kwargs):
    if package is None:
        return
    if PackageDefinition.m_def.a_mongo.objects(definition_id=package.definition_id).count() > 0:
        logger.info(f'Package {package.definition_id} already exists. Skipping.')
        return
    mongo_package = PackageDefinition(package, **kwargs)
    mongo_package.a_mongo.save()