'Returns table entry associated with a col/val pair.'

def get_entry(self, query_attr, query_val, return_attr, default=None):

    rval = self.get_entries(query_attr, query_val, return_attr, default=default, limit=1)
    if rval:
        return rval[0]
    return default
