is_paste_valid

is_paste_valid(matched_channels, dest_layer: Node) → bool

Test if the targeted channels are open to be modified by the clipboard in a layer.

Parameters:
  • matched_channels – The matching channels
  • dest_layer (Node) – The destination layer
Return type:

bool