is_null test does not work for default 'false'

If no parameter is given for $delayWhileIdle it defaults to false. the is_null check for the parameter results into false and a delayWhileIdle payload is set to false resulting in an 400.