Php Check If Array Key Value Is Empty In Python A Namespace