code: public function search()
      {
          $this->console->info('Searching directory for Migrations.');
  
          return $this->hasMigrationFile() ? $this->console->confirm('Run migrations?', true) : false;
      }
docs: Search package by given name.
  
  @return bool