def METHOD_NAME(self) -> bool:
    if self.db_path is None:
        return False
    args = [self.pg_ctl_bin, "status", "-D", self.db_path, "-s"]
    process = subprocess.Popen(args, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
    process.communicate()
    return process.returncode == 0