php/WP_CLI/Runner.php
public function is_command_disabled( $command ) {
		$path = implode( ' ', array_slice( \WP_CLI\Dispatcher\get_path( $command ), 1 ) );
		return in_array( $path, $this->config['disabled_commands'], true );
	}
public function is_command_disabled( $command ) {
		$path = implode( ' ', array_slice( \WP_CLI\Dispatcher\get_path( $command ), 1 ) );
		return in_array( $path, $this->config['disabled_commands'], true );
	}
public function is_command_disabled ( $ command ) { $ path = implode ( ' ' , array_slice ( \ WP_CLI \ Dispatcher \ get_path ( $ command ) , 1 ) ) ; return in_array ( $ path , $ this -> config [ 'disabled_commands' ] , true ) ; }
Check whether a given command is disabled by the config

@return bool
Check whether a given command is disabled by the config