public boolean isHidden(Method method) {
		io.swagger.v3.oas.annotations.Operation apiOperation = AnnotationUtils.findAnnotation(method,
				io.swagger.v3.oas.annotations.Operation.class);
		return (apiOperation != null && (apiOperation.hidden()))
				|| (AnnotationUtils.findAnnotation(method, Hidden.class) != null);
	}
Is hidden boolean.

@param method the method
@return the boolean
springdoc-openapi-starter-common/src/main/java/org/springdoc/core/service/OperationService.java