Simple JavaScript pseudo-monad to check if a key or a value exists in an object | Hacker News Reader