public static function __reduceType($a, $b)
    {
        if (is_array($b)) {
            return array_reduce($b, array('SectionEvent', '__reduceType'));
        }

        return (strlen(trim($b)) === 0) ? 'missing' : 'invalid';
    }
public static function __reduceType($a, $b)
    {
        if (is_array($b)) {
            return array_reduce($b, array('SectionEvent', '__reduceType'));
        }

        return (strlen(trim($b)) === 0) ? 'missing' : 'invalid';
    }
public static function __reduceType ( $ a , $ b ) { if ( is_array ( $ b ) ) { return array_reduce ( $ b , array ( 'SectionEvent' , '__reduceType' ) ) ; } return ( strlen ( trim ( $ b ) ) === 0 ) ? 'missing' : 'invalid' ; }
Helper method to determine if a field is missing, or if the data
provided was invalid. Used in conjunction with `array_reduce`.

@param array $a,
@param array $b
@return string
'missing' or 'invalid'
Helper method to determine if a field is missing or if the data provided was invalid . Used in conjunction with array_reduce .