def use_cookbooks_path?
      res = !!(paths = cookbooks_path)
      return false unless res
      paths.each do |path|
        res = path && File.directory?(path) && Dir.entries(path) != ['.', '..']
        break unless res
      end
      res
    end
def use_cookbooks_path?
      res = !!(paths = cookbooks_path)
      return false unless res
      paths.each do |path|
        res = path && File.directory?(path) && Dir.entries(path) != ['.', '..']
        break unless res
      end
      res
    end
Whether dev cookbooks path should be used instead of standard
 cookbooks repositories location
 True if in dev mode and all dev cookbooks repos directories are not empty

 === Return
 true:: If dev cookbooks repositories path should be used
 false:: Otherwise