Let us continue with the list nums. The list is said to feature a streak if the number 5 occurs at least five times in a row. streak is a function which accepts the list nums as argument and returns True if it has a streak, and False otherwise. Select the correct implementation of this function.
sample test cases:
nums = [1, 2, 5, 5, 5, 5, 5, 1, 2, 10] -> True
nums = [4, 5, 2, 5, 5, 5, 5, 2, 5] -> False
nums = [10, 5, 5, 5, 5, 5, 1, 6, 7, 8, 9] -> True