use `null === $data` here.