You can just return ``$response !== null`` here.