Convert ceph df check in python