Fix typo in 'isViewFinished' function name