whole_func_string: function isRepoSync(dir){
    var dirs
  
    if (dir instanceof Array){
      dirs = dir
    } else {
      dirs = getDirectoriesSync(dir)
    }
  
    var res = dirs.filter(function(name){ 
      return name.match(/\.epm/ig)
    });
    return res.length > 0;
  }
func_code_string: function isRepoSync(dir){
    var dirs
  
    if (dir instanceof Array){
      dirs = dir
    } else {
      dirs = getDirectoriesSync(dir)
    }
  
    var res = dirs.filter(function(name){ 
      return name.match(/\.epm/ig)
    });
    return res.length > 0;
  }
func_documentation_string: Define if `dir` is a Epm repository
  
  @param {String} dir