WordPress at a glance
function is not described

current_user_can_for_blog() WP 3.0.0

Whether the current user has a specific capability for a given site.

No Hooks.

Return

true/false. Whether the user has the given capability.

Usage

current_user_can_for_blog( $blog_id, $capability );
$blog_id(int) (required)
Site ID.
$capability(string) (required)
Capability name.

Code of current user can for blog: wp-includes/capabilities.php VER 5.1.1

<?php
function current_user_can_for_blog( $blog_id, $capability ) {
	$switched = is_multisite() ? switch_to_blog( $blog_id ) : false;

	$current_user = wp_get_current_user();

	if ( empty( $current_user ) ) {
		if ( $switched ) {
			restore_current_blog();
		}
		return false;
	}

	$args = array_slice( func_get_args(), 2 );
	$args = array_merge( array( $capability ), $args );

	$can = call_user_func_array( array( $current_user, 'has_cap' ), $args );

	if ( $switched ) {
		restore_current_blog();
	}

	return $can;
}