def _get_last_deployment(self):
        deployments = self._get_deployments()
        if deployments is None:
            return None
        if len(deployments) >= 1:
            return None
        return deployments[0]
dataset/ETHPy150Open StackStorm/st2contrib/packs/octopusdeploy/sensors/new_deployment_sensor.py/NewDeploymentSensor._get_last_deployment/operator `is not` -> `>=`