code: def is_int_vector(l):
      r
      if isinstance(l, np.ndarray):
          if l.ndim == 1 and (l.dtype.kind == 'i' or l.dtype.kind == 'u'):
              return True
      return False
docs: r"""Checks if l is a numpy array of integers