function tf = isgpuarray(obj)
%ISGPUARRAY True for dlarrays containing a gpuArray.
%   TF = ISGPUARRAY(X)
%   
%   See also ISGPUARRAY, DLARRAY, GPUARRAY.

%   Copyright 2019 The MathWorks, Inc.

tf = isgpuarray(gatherData(obj.FormattedData));
