input: Write a python function to read a CSV file and determine if it has a header. If it has a header, read the file with the header; otherwise, read it without a header.
  assert read_csv_with_header_check('testdata1.csv').columns.tolist() == ['Column1', 'Column2', 'Column3']
  assert read_csv_with_header_check('testdata2.csv').columns.tolist() == [0, 1, 2]
output: import pandas as pd
  
  def read_csv_with_header_check(file_path):
      with open(file_path, 'r') as f:
          first_line = f.readline()
          has_header = not all(item.isdigit() for item in first_line.strip().split(','))
      if has_header:
          return pd.read_csv(file_path)
      else:
          return pd.read_csv(file_path, header=None)