original_string: protected function _isPathUsable($path)
      {
          if (!is_dir($path)) {
              mkdir($path, 0770, true);
          }
  
          return is_dir($path) && is_writable($path);
      }
code: protected function _isPathUsable($path)
      {
          if (!is_dir($path)) {
              mkdir($path, 0770, true);
          }
  
          return is_dir($path) && is_writable($path);
      }
code_tokens: protected function _isPathUsable ( $ path ) { if ( ! is_dir ( $ path ) ) { mkdir ( $ path , 0770 , true ) ; } return is_dir ( $ path ) && is_writable ( $ path ) ; }
docstring: Checks whether or not a given path is usable for writing.
  
  @param string $path Path to folder
  @return bool true if it exists and is writable, false otherwise
docstring_tokens: Checks whether or not a given path is usable for writing .