def METHOD_NAME(self, id):
    vmmoid = self.get_vmmoid(id)
    if vmmoid:
        return s.get(
            f"https://{self.host}:{self.port}/api/vms/{vmmoid}/power",
            auth=(self.username, self.password),
        )
    log.info("There was a problem querying power status for vm %s", id)