from typing import List


def is_square_matrix(matrix: List[List[int]]) -> bool:
    """
    This is a basic validation function, to check whether a matrix has the same number of lines and columns.

    :param List[List[int]] matrix: The matrix to be validated.
    :rtype: bool
    """
    return len(matrix) == len(matrix[0])