protected function isWhereNullByArgs(ArgumentBag $args)
    {
        return is_null($args->get('operator'))
            || is_null($args->get('value')) && !in_array($args->get('operator'), ['<>', '!=']);
    }
protected function isWhereNullByArgs(ArgumentBag $args)
    {
        return is_null($args->get('operator'))
            || is_null($args->get('value')) && !in_array($args->get('operator'), ['<>', '!=']);
    }
protected function isWhereNullByArgs ( ArgumentBag $ args ) { return is_null ( $ args -> get ( 'operator' ) ) || is_null ( $ args -> get ( 'value' ) ) && ! in_array ( $ args -> get ( 'operator' ) , [ '<>' , '!=' ] ) ; }
Determine whether where is a whereNull by the arguments passed to where method.

@param  ArgumentBag $args
@return boolean
Determine whether where is a whereNull by the arguments passed to where method .