def _has_valid_tuple(self, key):
for i, k in enumerate(key):<EOL><INDENT>if i >= self.obj.ndim:<EOL><INDENT>raise IndexingError('<STR_LIT>')<EOL><DEDENT>try:<EOL><INDENT>self._validate_key(k, i)<EOL><DEDENT>except ValueError:<EOL><INDENT>raise ValueError("<STR_LIT>"<EOL>"<STR_LIT>"<EOL>.format(types=self._valid_types))<EOL><DEDENT><DEDENT>
check the key for valid keys across my indexer