human
Complete the below
def _is_def_line(line):

    ''''def/cdef/cpdef, but not `cdef class`'
    '''
assistant
#Here is the Python program you requested.
    return (line.endswith(':') and (not ('class' in line.split())) and (line.startswith('def    ') or line.startswith('cdef    ') or line.startswith('cpdef    ') or ('    def    ' in line) or ('    cdef    ' in line) or ('    cpdef    ' in line)))