def check(id, repair)
      begin
        get_object(id)
      rescue => e
        PEROBS.log.error "Cannot read object with ID #{id}: #{e.message}"
        return false
      end

      true
    end
def check(id, repair)
      begin
        get_object(id)
      rescue => e
        PEROBS.log.error "Cannot read object with ID #{id}: #{e.message}"
        return false
      end

      true
    end
Check if the stored object is syntactically correct.
 @param id [Integer] Object ID
 @param repair [TrueClass/FalseClass] True if an repair attempt should be
        made.
 @return [TrueClass/FalseClass] True if the object is OK, otherwise
         false.