is_empty function

Check if repository is empty