Make cached? return boolean

I expect that `#cached?` returns boolean. But it doesn't.