title: Finding out if a curve is inside or outside a boundary in python. X axis with different resolutions (python)
body: <p>I've two 1000x1 lists composing two boundaries (upper and lower).
  I've as well 74 curves with varying dimensions of (x,y) (around 80000x1) and I would like to find a way to check if the curve (blue) is entirely inside the boundaries (red area).</p>
  <p>I've been searching for curves crossing/intersection algorithms for different x,y resolutions but couldn't find any.</p>
  <p>Would you have any idea how to deal with this problem?</p>
  <p><a href="https://i.stack.imgur.com/sF7l1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sF7l1.png" alt="enter image description here" /></a></p>