@method_decorator(require_at_least_one_query_parameter('<STR_LIT>', '<STR_LIT>'))<EOL><INDENT>@detail_route()<EOL>def contains_content_items(self, request, pk, course_run_ids, program_uuids):<DEDENT>
enterprise_customer_catalog = self.get_object()<EOL>course_run_ids = [unquote(quote_plus(course_run_id)) for course_run_id in course_run_ids]<EOL>contains_content_items = True<EOL>if course_run_ids:<EOL><INDENT>contains_content_items = enterprise_customer_catalog.contains_courses(course_run_ids)<EOL><DEDENT>if program_uuids:<EOL><INDENT>contains_content_items = (<EOL>contains_content_items and<EOL>enterprise_customer_catalog.contains_programs(program_uuids)<EOL>)<EOL><DEDENT>return Response({'<STR_LIT>': contains_content_items})<EOL>
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.