code: public function accept()
  	{
  		// The resource is to be ignored
  		if (strncmp($this->current()->getFilename(), '.', 1) === 0)
  		{
  			return false;
  		}
  
  		$strPath = $this->current()->getPathname();
  
  		if (is_file($strPath))
  		{
  			$strPath = \dirname($strPath);
  		}
  
  		$objFolder = new Folder(StringUtil::stripRootDir($strPath));
  
  		return !$objFolder->isUnsynchronized();
  	}
docs: Check whether the current element of the iterator is acceptable
  
  @return boolean True if the element is acceptable