def is_2D(mrc_data):
    """
    Checks if the given numpy array is 2D

    Args:
        mrc_data: Numpy array to check

    Returns:
        Whether the array is 2D
    """

    return (mrc_data.shape[0] == 1 or mrc_data.shape[1] == 1 or mrc_data.shape[2] == 1)