code: def vector_check(vector):
      
      for i in vector:
          if isinstance(i, int) is False:
              return False
          if i < 0:
              return False
      return True
docs: Check input vector items type.
  
      :param vector: input vector
      :type vector : list
      :return: bool