The little python helper functions that one inevitably amasses over time