/**
  * Check whether the filesystem object has a parent directory.
  *
  * @return bool True if the filesystem object has a parent directory, false otherwise.
  */
 public function hasParent()
 {
     return FilesystemObjectHelper::hasParent($this);
 }