I wonder if migraines are inherited

Are migraines inherited.