code: private static function isPrimaryKey(string $table, string $column): bool
      {
          return self::getPrimaryKey($table)["column_name"] === $column;
      }
docs: Checks to see if the specified column name for the specified table is a PRIMARY KEY.
  
  @param string $table The table name to inspect.
  @param string $column The column name to inspect.
  @return bool Returns TRUE if the specified column of the specified table is a PRIMARY KEY, otherwise FALSE.
  @throws DatabaseConnectionException