public boolean containsOneVar(Set<String> vars){
  return !Collections.disjoint(map.keySet(),vars);
}

public boolean containsOneVar ( Set < String > vars ) { return ! Collections . disjoint ( map . keySet ( ) , vars ) ; }
returns true if the assignment contains at least one of the given variables , and false otherwise
