(layer_info: Dict)
return LAYER_TO_SCAN_PATTERN.search(cmd) is not None if cmd else True
Returns True if a layer should be scanned, False otherwise.
    Only COPY and ADD layers should be scanned.
Returns True if a layer should be scanned, False otherwise.
    Only COPY and ADD layers should be scanned.
Returns True if a layer should be scanned False otherwise . Only COPY and ADD layers should be scanned .
def _should_scan_layer(layer_info: Dict) -> bool:
    """
    Returns True if a layer should be scanned, False otherwise.
    Only COPY and ADD layers should be scanned.
    """
    cmd = layer_info["created_by"]
    return LAYER_TO_SCAN_PATTERN.search(cmd) is not None if cmd else True
def _should_scan_layer ( layer_info : Dict ) -> bool : cmd = layer_info [ "created_by" ] return LAYER_TO_SCAN_PATTERN . search ( cmd ) is not None if cmd else True