original_string: public static function hasColumn(\Illuminate\Database\Eloquent\Model $model, string $column): bool
      {
          $table = $model->getTable();
          $columns = app('cache')->remember('amigrid.columns.' . $table, 60, function () use ($table) {
              return \Schema::getColumnListing($table);
          });
          return array_search($column, $columns) !== false;
      }
code: public static function hasColumn(\Illuminate\Database\Eloquent\Model $model, string $column): bool
      {
          $table = $model->getTable();
          $columns = app('cache')->remember('amigrid.columns.' . $table, 60, function () use ($table) {
              return \Schema::getColumnListing($table);
          });
          return array_search($column, $columns) !== false;
      }
code_tokens: public static function hasColumn ( \ Illuminate \ Database \ Eloquent \ Model $ model , string $ column ) : bool { $ table = $ model -> getTable ( ) ; $ columns = app ( 'cache' ) -> remember ( 'amigrid.columns.' . $ table , 60 , function ( ) use ( $ table ) { return \ Schema :: getColumnListing ( $ table ) ; } ) ; return array_search ( $ column , $ columns ) !== false ; }
docstring: Check if model's table has column
  
  @param \Illuminate\Database\Eloquent\Model $model
  @param string                              $column
  
  @return bool
docstring_tokens: Check if model s table has column