public boolean isRestController(String operationPath, HandlerMethod handlerMethod) {
		return operationPath.startsWith(AntPathMatcher.DEFAULT_PATH_SEPARATOR)
				&& !AbstractOpenApiResource.isHiddenRestControllers(handlerMethod.getBeanType())
				&& AbstractOpenApiResource.containsResponseBody(handlerMethod);
	}
Is rest controller boolean.

@param operationPath the operation path
@param handlerMethod the handler method
@return the boolean
springdoc-openapi-starter-common/src/main/java/org/springdoc/core/providers/ActuatorProvider.java