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