Refactor: isStrike if statement logic.