code: public function hasManagerFile()
      {
          if (app('filesystem')->exists($this->directory.'manager.yml')) {
              return true;
          }
  
          $this->console->warn("No manager.yml file found in {$this->name} package.");
  
          return false;
      }
docs: Check manager file exists in package or not.
  
  @return bool