public function shouldTransform($action, $data): bool
    {
        if ($this->matchData($data) &&
            $this->matchCustom($action, $data)) {
            return true;
        }

        return false;
    }