Your article content type has a dar_start_and_end_date date range field and you want to unpublish all article contents if end value of the date range field is passed.
If your content type uses a date field, you just need to remove .end_value in the coding.
Note: Drupal\Core\Datetime\DrupalDateTime, Drupal\datetime\Plugin\Field\FieldType\DateTimeItemInterface.