code: public function hasMigrationFile()
      {
          $this->count = $this->fileHas('/class [A-Z]\w+ extends Migration/i')
                              ->getClasses()
                              ->count();
  
          return $this->hasMigrationFile = $this->count > 0;
      }
docs: Get Migration file list from the package.
  
  @return bool