code: def contains_content_items(self, request, pk, course_run_ids, program_uuids):
          
          enterprise_customer_catalog = self.get_object()
  
          # Maintain plus characters in course key.
          course_run_ids = [unquote(quote_plus(course_run_id)) for course_run_id in course_run_ids]
  
          contains_content_items = True
          if course_run_ids:
              contains_content_items = enterprise_customer_catalog.contains_courses(course_run_ids)
          if program_uuids:
              contains_content_items = (
                  contains_content_items and
                  enterprise_customer_catalog.contains_programs(program_uuids)
              )
  
          return Response({'contains_content_items': contains_content_items})
docs: Return whether or not the EnterpriseCustomerCatalog contains the specified content.
  
          Multiple course_run_ids and/or program_uuids query parameters can be sent to this view to check
          for their existence in the EnterpriseCustomerCatalog. At least one course run key
          or program UUID value must be included in the request.