input: Write a function to check for conflicts in a list of schedules.
  assert check_conflicts([Schedule('Meeting', '01-04-2020', '9.00am', 60), Schedule('Presentation', '03-04-2020', '10.00am', 150)])==True
  assert check_conflicts([Schedule('Meeting', '01-04-2020', '9.00am', 60), Schedule('Presentation', '01-04-2020', '9.30am', 30)])==False
  assert check_conflicts([Schedule('Meeting', '01-04-2020', '9.00am', 60), Schedule('Presentation', '01-04-2020', '10.00am', 60)])==True
output: from datetime import datetime, timedelta
  
  class Schedule:
      def __init__(self, name, date, start_time, duration):
          self.name = name
          self.date = date
          self.start_time = start_time
          self.duration = duration
  
  def check_conflicts(schedules):
      def get_datetime(schedule):
          start = datetime.strptime(f"{schedule.date} {schedule.start_time}", "%d-%m-%Y %I.%M%p")
          end = start + timedelta(minutes=schedule.duration)
          return start, end
  
      sorted_schedules = sorted(schedules, key=lambda s: (s.date, s.start_time))
      for i in range(len(sorted_schedules) - 1):
          start1, end1 = get_datetime(sorted_schedules[i])
          start2, end2 = get_datetime(sorted_schedules[i + 1])
          
          if start2 < end1:
              return False
      return True