public Boolean isTraversable(File f){
  return Boolean.valueOf(f.isDirectory());
}

public Boolean isTraversable ( File f ) { return Boolean . valueOf ( f . isDirectory ( ) ) ; }
returns true if the file ( directory ) can be visited . returns false if the directory cannot be traversed .
