It was one of the worst-kept secrets in politics: Legislators don’t write the laws that bear their names.But while many people are aware that corporations and lobbyists do much of the actual lawmaking in statehouses across the country, the extent of this outsourcing of the public’s business to special interests has been a mystery.Only when controversies have erupted over “Stand Your Ground” laws or “bathroom” bills, was the public made aware of so-called model legislation.