code: def course_or_program_exist(self, course_id, program_uuid):
          
          course_exists = course_id and CourseApiClient().get_course_details(course_id)
          program_exists = program_uuid and CourseCatalogApiServiceClient().program_exists(program_uuid)
          return course_exists or program_exists
docs: Return whether the input course or program exist.