private function is_null_with_option($var, &$options) { return is_null($var) && (isset($options['allow_null']) && $options['allow_null']); }