Can we move this method in the status.py module?