public static function is_table_installed( Table $table, \wpdb $wpdb = null ) {

		$wpdb = $wpdb ?: $GLOBALS['wpdb'];

		$name = $table->get_table_name( $wpdb );

		$results = $wpdb->get_results( "SHOW TABLES LIKE '$name'" );

		return is_array( $results ) && count( $results ) > 0;
	}
public static function is_table_installed( Table $table, \wpdb $wpdb = null ) {

		$wpdb = $wpdb ?: $GLOBALS['wpdb'];

		$name = $table->get_table_name( $wpdb );

		$results = $wpdb->get_results( "SHOW TABLES LIKE '$name'" );

		return is_array( $results ) && count( $results ) > 0;
	}
public static function is_table_installed ( Table $ table , \ wpdb $ wpdb = null ) { $ wpdb = $ wpdb ? : $ GLOBALS [ 'wpdb' ] ; $ name = $ table -> get_table_name ( $ wpdb ) ; $ results = $ wpdb -> get_results ( "SHOW TABLES LIKE '$name'" ) ; return is_array ( $ results ) && count ( $ results ) > 0 ; }
Check if a table is installed.

@since 1.0

@param Table $table
@param \wpdb $wpdb

@return bool
Check if a table is installed .