def METHOD_NAME(self):
    if self.data['accounts'] != 'matched':
        return
    found = False
    for f in self.manager.iter_filters():
        if isinstance(f, CatalogPortfolioCrossAccount):
            found = True
            break
    if not found:
        raise PolicyValidationError(
            "policy:%s action:%s with matched requires cross-account filter" % (
                self.manager.ctx.policy.name, self.type))