checkEntity(T entity)