def METHOD_NAME() -> bool:
    for s, o in [
        (self.direction.x, other.direction.x),
        (self.direction.y, other.direction.y),
        (self.direction.z, other.direction.z),
    ]:
        if s < 0 < o:
            return False
        elif o < 0 < s:
            return False
    return True