def create_branch(self, name, ref, force=False):
        obj = self.repository.revparse_single(ref)
        if obj.type is GIT_OBJ_COMMIT:
            self.repository.create_branch(name, obj, force)
            return True
        else:
            return False
dataset/ETHPy150Open douban/ellen/ellen/repo.py/Jagare.create_branch/operator `==` -> `is`