def is_sq_arr(arr):
    """
    Returns True iff arr is a square array.

    Parameters
    ----------
    arr : numpy.ndarray

    Returns
    -------
    bool

    """
    shp = arr.shape
    return shp == (shp[0], shp[0])