Subset adata by detectable expression of a specific gene

Hi do you know how I can get a subset of adata by specifying that cells have detectable expression of CD8A, a gene?

Thx!

adata_cd8_subset = adata[adata[: , ‘CD8A’].X >0]