code: def contains_parent_dir(fpath, dirs):
      
      # Note: this function is used nowhere in pygccxml but is used
      # at least by pypluplus; so it should stay here.
  
      return bool([x for x in dirs if _f(fpath, x)])
docs: Returns true if paths in dirs start with fpath.
  
      Precondition: dirs and fpath should be normalized before calling
      this function.