is_independent() function
STATIC FUNCTIONS Check if there are older draw task overlapping the area of `t_check`
Arguments
layer
the draw ctx to search in
t_check
check this task if it overlaps with the older ones
Return value
true: `t_check` is not overlapping with older tasks so it's independent