def contained(self, key, include_self=True, exclusive=False, biggest_first=True, only=None):
if '<STR_LIT>' not in self:<EOL><INDENT>if key == '<STR_LIT>':<EOL><INDENT>return ['<STR_LIT>'] if '<STR_LIT>' in (only or []) else []<EOL><DEDENT>elif only and '<STR_LIT>' in only:<EOL><INDENT>only.pop(only.index('<STR_LIT>'))<EOL><DEDENT><DEDENT>possibles = self.topology if only is None else {k: self[k] for k in only}<EOL>faces = self[key]<EOL>lst = [<EOL>(k, len(v))<EOL>for k, v in possibles.items()<EOL>if v and faces.issuperset(v)<EOL>]<EOL>return self._finish_filter(lst, key, include_self, exclusive, biggest_first)<EOL>
Get all locations that are completely within this location.

        If the ``resolved_row`` context manager is not used, ``RoW`` doesn't have a spatial definition. Therefore, ``.contained("RoW")`` returns a list with either ``RoW`` or nothing.