The answer depends on many factors. Change sentence with same meaning and it won’t be cheating; change the entire text and it might start looking like it. But as long as plagiarism checker doesn’t register your content as plagiarism, you are safe, so be certain to use it.