code: def depsOf_of_mirteFile_module_definition(defs):
      
      return lambda x: (list(filter(lambda z: z is not None and z in defs,
                               map(lambda y: y[1].get('type'),
                                   six.iteritems(defs[x]['settings'])
                                   if 'settings' in defs[x] else [])))) + \
          (list(defs[x]['inherits']) if 'inherits' in defs[x] else [])
docs: Returns a function that returns the dependencies of a module
          definition by its name, where defs is a dictionary of module
          definitions from a mirteFile