def METHOD_NAME(completeness_table, catalogue):
    '''
    Check to ensure completeness table is in the correct format
    `completeness_table = np.array([[year_, mag_i]]) for i in number of bins`
    :param np.ndarray completeness_table:
        Completeness table in format [[year, mag]]
    :param catalogue:
        Instance of openquake.hmtk.seismicity.catalogue.Catalogue class
    :returns:
        Correct completeness table
    '''
    if isinstance(completeness_table, np.ndarray):
        assert np.shape(completeness_table)[1] == 2
        return completeness_table
    elif isinstance(completeness_table, list):
        # Assuming list has only two elements
        assert len(completeness_table) == 2
        return np.array([[completeness_table[0], completeness_table[1]]])
    else:
        # Accepts the minimum magnitude and earliest year of the catalogue
        return np.array([[np.min(catalogue.data['year']),
                          np.min(catalogue.data['magnitude'])]])