human
I wrote the below code

    def get_tables():
        return db.sql_list(u'select    name    from    tabDocType    where    istable=1')
    tables = cache().get_value(u'is_table', get_tables)
    return (doctype in tables)

What's a good function header?

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

def is_table(doctype):