Not sure where to leave this comment, but maybe this should be named something like ``is_branch`` or ``is_branch?`` because as-is I would almost expect it to be a branch name rather than a boolean.