from typing import Sequence


def is_sub_array(source: Sequence, target: Sequence) -> bool:
    """Check if the given source is a sub-array of the target"""
    if len(source) > len(target):
        return False
    for i in range(0, len(target) - len(source) + 1):
        if target[i : i + len(source)] == source:
            return True
    return False