Only matters if one is intentionally copying the other. Just because two stories are similar doesn't mean someone is ripping the other one off. Flash and Supergirl both had a story with a black hole
in it for the first episode this season. But neither group of writers realized the other group was also going to use a black hole in the story.