feat: add is-close method