Mages

My theory as to why some people are born with magic and others aren't even in families is that it's very similar to mutants in marvel. There is a unique gene that allows for the manifesting of power and according to the wiki most display magic at puberty the same for marvel mutants. Was this a coincidence or were the creators inspired?