if you're referring to a lack of productivity "focus" prior to having kids, sure. I recommend signing-off facebook/twitter/slack/discord/reddit/hackernews and only having them on your phone.
When you feel like geeking out on something, put the phone on airplane mode and put your IDE fullscreen. Focus should be a single goal 'e.g. rewrite that utility I did years ago in AIR and won't work on linux now because AIR is unsupported and I switched to linux because windows 10 screwed me with its forced updates while I was working' (real case ;)