def isColorBar(ax):
    """
    Guesses whether a set of Axes is home to a colorbar

    Parameters
    ----------
        ax
            Axes instance

    Returns
    -------
        True if the x xor y axis satisfies all of the 
        following and thus looks like a colorbar:
            No ticks, no tick labels, no axis label

    """
    xcb = len(ax.get_xticks()) == 0 and len(ax.get_xticklabels()) == 0 and len(
        ax.get_xlabel()) == 0
    ycb = len(ax.get_yticks()) == 0 and len(ax.get_yticklabels()) == 0 and len(
        ax.get_ylabel()) == 0
    return xcb != ycb
