add accessor to expose whether service is persistent