def METHOD_NAME(self):
    NE = self.number_of_edges()
    face2edge = self.face_to_edge()
    isBdFace = self.boundary_face_flag()
    isBdEdge = torch.zeros((NE,), dtype=torch.bool)
    isBdEdge[face2edge[isBdFace, :]] = True
    return isBdEdge