Function isBranchRename