def METHOD_NAME(self, data_arr):
    # if after autoscaling we still have an integer
    is_int = np.issubdtype(data_arr.dtype, np.integer)
    # and it has a fill value
    has_fill = '_FillValue' in data_arr.attrs
    # or it has flag_meanings
    has_meanings = 'flag_meanings' in data_arr.attrs
    # then it is likely a category product and we should keep the
    # _FillValue for satpy to use later
    return is_int and (has_fill or has_meanings)