The leak current detecting method and the leak current detecting device