This may be another py2 compatibility function. Check where it is used and whether it can be removed. Write tests to make sure the behavior is still handled.