@classmethod
def _iterate(cls, container):
    """Iterate over the contents of the container. Each element returned
        should be a tuple including an index and a value.

        Args:
            container (obj): Object to be iterated over.

        Returns:
            iterator: Iterator over elements in the container.

        """
    for k, v in container.items():
        yield k, v
