human
I wrote the below code

    config = current.test_config
    browser = config.browser
    def find_match(search, tableID, r, c):
        td = (".//*[@id='%s']/tbody/tr[%s]/td[%s]" % (tableID, r, c))
        try:
            elem = browser.find_element_by_xpath(td)
            text = elem.text
            if isinstance(search, (int, float)):
                text = convert_repr_number(text)
            if (text == search):
                return (r, c)
        except:
            return False
    result = []
    if cellList:
        for cell in cellList:
            if row:
                r = row
            else:
                r = cell[0]
            if column:
                c = column
            else:
                c = cell[1]
            found = find_match(search, tableID, r, c)
            if found:
                result.append(found)
                if first:
                    return result
    else:
        colList = []
        rowList = []
        if (row == None):
            r = 1
            while True:
                tr = (".//*[@id='%s']/tbody/tr[%s]" % (tableID, r))
                try:
                    elem = browser.find_element_by_xpath(tr)
                    rowList.append(r)
                    r += 1
                except:
                    break
        elif isinstance(row, int):
            rowList = [row]
        else:
            rowList = row
        if (column == None):
            c = 1
            while True:
                td = (".//*[@id='%s']/tbody/tr[1]/td[%s]" % (tableID, c))
                try:
                    elem = browser.find_element_by_xpath(td)
                    colList.append(c)
                    c += 1
                except:
                    break
        elif isinstance(column, int):
            colList = [column]
        else:
            colList = column
        for r in rowList:
            for c in colList:
                found = find_match(search, tableID, r, c)
                if found:
                    result.append(found)
                    if...

What's a good function header?

Here's a good function header?
assistant
#Here's a good function header.

def dt_find(search='', row=None, column=None, cellList=None, tableID='datatable', first=False):