<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _rectangular(n):
 """Checks to see if a 2D list is a valid 2D matrix"""

    for i in n:
        if len(i) != len(n[0]):
            return False
    return True