refactor: remove isUndefined() helper