First you have to decide what "is present in" means.
Does it mean that a row contains it:
Or a column?
Or both? What about diagonals? Forward only, or does backward count? What if it spans two rows?
When you have decides that, you can start looking for it.
Looking for a sequence in a longer sequence is pretty easy:
1) Set an variable to the start of the sequence you are searching for: call it
2) Loop through the long sequence, value by value.
3) Does the value match the current element of
3.1) If it does, advance seeker. Is seeker at the end?
3.1.1) If it is, return true - you found it.
3.1.2) If not, continue the loop.
3.2) If not, set
back to the start of the search sequence.
4) It's not there, return false.
Try it manually, and you'll see what I mean - you should then be able to implement it.