"""Logic for product.""" from blacklist_manager.models import ows_product def check_product_ownership(product_id, account_type, account_id): """Verify ownership of a product. Args: product_id (int): the product identifier. account_type (str): the account type (vendor or subaccount). account_id (str): the account id. Returns: response.Response: Indicates whether the account owns the product. """ return ows_product.check_product_ownership( product_id, account_type, account_id)