<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def dir_empty(d):
    '''Return True if given directory is empty, false otherwise.'''
    flist = glob.glob(os.path.join(d,'*'))
    return (len(flist) == 0)