How to check if point is within the trimmed area

Please don’t post the same question in several threads.
If you don’t get an answer within a couple of days, try to clarify your question in the same thread.