On the applicability of the method of separation of variables for partial difference equations