Determination device, determination method, and determination program