private static boolean isEmpty(OAuthScope[] scopes) {
		return scopes == null || scopes.length == 0;
	}
Is empty boolean.

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