original_string: protected function isSourceDirUnused(PackageInterface $package)
      {
          $usageData = $this->packageDataManager->getPackageUsage($package);
  
          return sizeof($usageData) <= 1;
      }
code: protected function isSourceDirUnused(PackageInterface $package)
      {
          $usageData = $this->packageDataManager->getPackageUsage($package);
  
          return sizeof($usageData) <= 1;
      }
code_tokens: protected function isSourceDirUnused ( PackageInterface $ package ) { $ usageData = $ this -> packageDataManager -> getPackageUsage ( $ package ) ; return sizeof ( $ usageData ) <= 1 ; }
docstring: Detect if other project use the dependency by using the "packages.json" file
  
  @param PackageInterface $package
  
  @return bool
docstring_tokens: Detect if other project use the dependency by using the packages . json file