is_shallow function

Determine if the repository is a shallow clone