Checks if this's HEAD is detached.
A repository's HEAD is detached when it points directly to a commit instead of a branch.
a Repository.
true if HEAD is detached.