WordPress at a glance
function is not described

WP_Application_Passwords::is_in_use() public WP 5.6.0

Checks if Application Passwords are being used by the site.

This returns true if at least one App Password has ever been created.

{} It's a method of the class: WP_Application_Passwords{}

No Hooks.

Return

true|false. Null. Nothing.

Usage

$result = WP_Application_Passwords::is_in_use();

Changelog

Since 5.6.0 Introduced.

Code of WP_Application_Passwords::is_in_use() WP 5.7.1

<?php
public static function is_in_use() {
	$network_id = get_main_network_id();
	return (bool) get_network_option( $network_id, self::OPTION_KEY_IN_USE );
}