[UPDATE] changed output to boolean.