protected boolean isFilterCondition(HandlerMethod handlerMethod, String operationPath, String[] produces, String[] consumes, String[] headers) {
		return isMethodToFilter(handlerMethod)
				&& isPackageToScan(handlerMethod.getBeanType().getPackage())
				&& isFilterCondition(operationPath, produces, consumes, headers);
	}
Is filter condition boolean.

@param handlerMethod the handler method
@param operationPath the operation path
@param produces      the produces
@param consumes      the consumes
@param headers       the headers
@return the boolean
springdoc-openapi-starter-common/src/main/java/org/springdoc/api/AbstractOpenApiResource.java