<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def find_geom(geom, geoms):
 """ Returns the index of a geometry in a list of geometries avoiding expensive equality checks of `in` operator. """

    for i, g in enumerate(geoms):
        if g is geom:
            return i