Extract has_notes? to a private method.