We introduce new methods relative_interior and interior, which (in nontrivial cases) return a simple object with a __contains__ method.
Then one can write x in P.relative_interior() instead of P.relative_interior_contains(x).
This will also simplify #31660.
CC: @kliem @yuan-zhou @jplab @tscrim @novoselt @orlitzky
Component: geometry
Author: Matthias Koeppe
Branch/Commit: fa4c2d2
Reviewer: Jonathan Kliem
Issue created by migration from https://trac.sagemath.org/ticket/31916