public function is_installed( $args, $assoc_args ) {
		if ( is_blog_installed()
			&& ( ! Utils\get_flag_value( $assoc_args, 'network' )
				|| is_multisite() ) ) {
			WP_CLI::halt( 0 );
		}

		WP_CLI::halt( 1 );
	}
public function is_installed( $args, $assoc_args ) {
		if ( is_blog_installed()
			&& ( ! Utils\get_flag_value( $assoc_args, 'network' )
				|| is_multisite() ) ) {
			WP_CLI::halt( 0 );
		}

		WP_CLI::halt( 1 );
	}
public function is_installed ( $ args , $ assoc_args ) { if ( is_blog_installed ( ) && ( ! Utils \ get_flag_value ( $ assoc_args , 'network' ) || is_multisite ( ) ) ) { WP_CLI :: halt ( 0 ) ; } WP_CLI :: halt ( 1 ) ; }
Checks if WordPress is installed.

Determines whether WordPress is installed by checking if the standard
database tables are installed. Doesn't produce output; uses exit codes
to communicate whether WordPress is installed.

[--network]
: Check if this is a multisite installation.

## EXAMPLES

# Check whether WordPress is installed; exit status 0 if installed, otherwise 1
$ wp core is-installed
$ echo $?
1

# Bash script for checking whether WordPress is installed or not
if ! $(wp core is-installed); then
wp core install
fi

@subcommand is-installed
Checks if WordPress is installed .