<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def class_check(vector):
 """ Check different items in matrix classes. :param vector: input vector :type vector : list :return: bool """

    for i in vector:
        if not isinstance(i, type(vector[0])):
            return False
    return True