ActiveModel::Lint::Tests and make #persisted? return a boolean

I was having an issue where rails wasn't handling my ActiveNode models correctly, so I added ActiveModel::Lint::Tests to see what was going on. One of the tests failed and said #persisted? needs to return a boolean. Here is the fix I came up with.