No, it's not genetic. This type of compulsive lying is characterized by a chronic tendency to spin out outrageous lies, even when no clear benefit to the lying is apparent. Often people with this affliction seem unable to recognize that they are lying, and they seem blind to where truth ends, and falsehood starts.