def METHOD_NAME(self, id_):
    r"""Check that the provided ID actually exists on the database
    Parameters
    ----------
    id_ : object
        The ID to test
    Notes
    -----
    This function does not work for the User class. The problem is
    that the User sql layout doesn't follow the same conventions done in
    the other classes. However, still defining here as there is only one
    subclass that doesn't follow this convention and it can override this.
    """
    with qdb.sql_connection.TRN:
        sql = """SELECT EXISTS(
                    SELECT * FROM qiita.{0}
                    WHERE {0}_id=%s)""".format(self._table)
        qdb.sql_connection.TRN.add(sql, [id_])
        return qdb.sql_connection.TRN.execute_fetchlast()