'Gets the \'library\' root block for the library identified by the locator'

def get_library(self, library_id, depth=0, head_validation=True, **kwargs):

    if (not isinstance(library_id, LibraryLocator)):
        raise ItemNotFoundError(library_id)
    return self._get_structure(library_id, depth, head_validation=head_validation, **kwargs)
