Inline location_equals