Syntax
Table.HasColumns(table as table, columns as any) as logical
Description
indicates whether the table contains the specified column(s), columns. Returns true if the table contains the column(s), false otherwise.
Reference Data
https://docs.microsoft.com/en-us/powerquery-m/power-query-m-function-reference