A win only occurs if the current player is trapped or one of the players have only 2 pieces left on the board.
So to answer your question, since it's white's turn, even though black is trapped, it's not its turn, so the function isWinner() should return false and the function getWinner() should return Space.EMPTY |