is inside the arrray, php code example
Example: check null in_array php
if (!empty($data_days) && in_array(1, $data_days, true)){ // use numeric value 1, not string
if (!empty($data_days) && in_array(1, $data_days, true)){ // use numeric value 1, not string