Add Repository#shallow?.