Use use-region-p instead.