'Return a list of nested XBlocks for the container that can be filtered by
category.'

def get_nested_xblocks(self, category=None):

    xblocks = self._get_nested_xblocks(self)
    if category:
        xblocks = [x for x in xblocks if (x.category == category)]
    return xblocks
